public static class CoreProvider.ViewAutoCenter extends AbstractMenuAction implements PortExtendedStatusListener
ACCELERATOR_KEY, ACTION_COMMAND_KEY, BUTTON_GROUP_NAME, DISPLAYED_MNEMONIC_INDEX_KEY, enabled, LARGE_ICON_KEY, LOCALIZED_MENU_HIERARCHY, LONG_DESCRIPTION, MENU_PRIORITY, MNEMONIC_KEY, NAME, NOT_VOICE_COMMAND, PERMITTED, PRE_LOCALIZE_MENU_TAG_NAME, PRE_LOCALIZED_MENU_HIERARCHY, properties, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON, UI_TYPE, WARNING_IF_REMOVED| Constructor and Description |
|---|
ViewAutoCenter() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.lang.Object e)
Invoked when an action occurs.
|
boolean |
init(java.lang.Object item,
java.lang.Object view)
Additional processing to be done when the action is attached to the menu structure.
|
void |
portClosed(PortConnector connector)
The specified port has been closed.
|
void |
portOpened(PortConnector connector)
The specified port has been successfully opened.
|
void |
portStatusChanged(PortConnector connector)
The status of the specified port has changed other than opening or closing,
or beginning or ending transmit or receive.
|
addPropertyListener, firePropertyChange, getPropertyListener, getPropertyListener, getValue, isEnabled, parseMnemonics, putValue, removePropertyListener, setEnabled, setPropertyListenerpublic boolean init(java.lang.Object item,
java.lang.Object view)
AbstractMenuActioninit in class AbstractMenuActionitem - GUI-specific menu item that is associated with the AbstractMenuAction subclassview - GUI window containing this menu.MainGui.buildMenus(java.util.ArrayList<org.ka2ddo.yaac.pluginapi.AbstractMenuAction>, javax.swing.JMenuBar, java.awt.Window)public void portOpened(PortConnector connector)
PortStatusListenerportOpened in interface PortStatusListenerconnector - PortConnector that was openedpublic void portClosed(PortConnector connector)
PortStatusListenerportClosed in interface PortStatusListenerconnector - PortConnector that was closedpublic void portStatusChanged(PortConnector connector)
PortExtendedStatusListenerportStatusChanged in interface PortExtendedStatusListenerconnector - PortConnector whose status has changedpublic void actionPerformed(java.lang.Object e)
AbstractMenuActionactionPerformed in class AbstractMenuActione - UI-specific Object describing the action