|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JButton
ilog.cpl.graph.action.toolbar.IlpGraphSimpleActionButton
ilog.cpl.graph.action.toolbar.IlpGraphFitToContentsButton
public abstract class IlpGraphFitToContentsButton
This button sets the zoom factor by executing a "fit to contents" action.
IlpGraphFitToContentsButton,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JButton |
|---|
JButton.AccessibleJButton |
| Nested classes/interfaces inherited from class javax.swing.AbstractButton |
|---|
AbstractButton.AccessibleAbstractButton, AbstractButton.ButtonChangeListener |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
protected |
IlpGraphFitToContentsButton(IlpGraphFitToContentsAction action)
Creates the button. |
| Method Summary | |
|---|---|
int |
getBottomMargin()
Returns the bottom margin height to be used in the "fit to contents" action. |
int |
getLeftMargin()
Returns the left margin width to be used in the "fit to contents" action. |
int |
getMargins()
|
int |
getRightMargin()
Returns the right margin width to be used in the "fit to contents" action. |
int |
getTopMargin()
Returns the top margin height to be used in the "fit to contents" action. |
void |
setBottomMargin(int margin)
Sets the bottom margin height to be used in the "fit to contents" action. |
void |
setLeftMargin(int margin)
Sets the left margin width to be used in the "fit to contents" action. |
void |
setMargins(int margin)
Sets all margins. |
void |
setRightMargin(int margin)
Sets the right margin width to be used in the "fit to contents" action. |
void |
setTopMargin(int margin)
Sets the top margin height to be used in the "fit to contents" action. |
| Methods inherited from class ilog.cpl.graph.action.toolbar.IlpGraphSimpleActionButton |
|---|
getLocationOnScreen |
| Methods inherited from class javax.swing.JButton |
|---|
configurePropertiesFromAction, getAccessibleContext, getUIClassID, isDefaultButton, isDefaultCapable, paramString, removeNotify, setDefaultCapable, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected IlpGraphFitToContentsButton(IlpGraphFitToContentsAction action)
action - The action to be associated to this button.| Method Detail |
|---|
public int getTopMargin()
public void setTopMargin(int margin)
margin - Margin height in pixels.public int getLeftMargin()
public void setLeftMargin(int margin)
margin - Margin width in pixels.public int getBottomMargin()
public void setBottomMargin(int margin)
margin - Margin height in pixels.public int getRightMargin()
public void setRightMargin(int margin)
margin - Margin width in pixels.public int getMargins()
public void setMargins(int margin)
margin - Margin in pixels for all four sides.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||