public abstract class IlpGraphFitToContentsAction extends IlpAbstractGraphAction
IlpGraphFitToContentsButton, 
Serialized FormchangeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Modifier | Constructor and Description | 
|---|---|
| protected  | IlpGraphFitToContentsAction(IlpViewsView view,
                           String bundle)Creates the action. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | actionPerformed(ActionEvent e)Invoked when an action occurs. | 
| 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 | 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 | 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. | 
getContext, getViewaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledprotected IlpGraphFitToContentsAction(IlpViewsView view, String bundle)
view - The view on which to operate.bundle - The resource bundle to be used.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 void actionPerformed(ActionEvent e)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.