public class AbstractFeatureDialog extends AbstractFeature implements WWODialog
| Modifier and Type | Field and Description |
|---|---|
protected JPanel |
centerButtonPanel |
protected JButton |
closeButton |
protected JDialog |
dialog |
protected JPanel |
dialogPanel |
protected JPanel |
leftButtonPanel |
protected boolean |
positionInitialized |
protected JPanel |
rightButtonPanel |
controller, featureIDchangeSupport, 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 |
AbstractFeatureDialog(String name,
String featureID,
Registry registry) |
protected |
AbstractFeatureDialog(String name,
String featureID,
String largeIconPath,
Registry registry) |
| Modifier and Type | Method and Description |
|---|---|
JDialog |
getJDialog() |
void |
initialize(Controller controller) |
protected void |
insertCenterDialogComponent(JComponent component) |
protected void |
insertDialogComponent(JComponent component) |
protected void |
insertLeftDialogComponent(JComponent component) |
protected void |
insertRightDialogComponent(JComponent component) |
protected void |
setLocation(int horizontal,
int vertical) |
protected void |
setTaskComponent(JComponent component) |
protected void |
setTaskPanel(FeaturePanel panel) |
protected void |
setTaskPanel(String featureID) |
void |
setTitle(String title) |
void |
setVisible(boolean tf) |
void |
turnOn(boolean tf) |
actionPerformed, addToToolBar, doActionPerformed, doPropertyChange, getController, getFeatureID, getName, getStringValue, isInitialized, isOn, isTwoState, propertyChange, register, setMenuAccelleratoraddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFeatureID, getName, isOn, isTwoStateisInitializedaddPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledactionPerformedpropertyChangeprotected JPanel centerButtonPanel
protected JButton closeButton
protected JDialog dialog
protected JPanel dialogPanel
protected JPanel leftButtonPanel
protected boolean positionInitialized
protected JPanel rightButtonPanel
protected AbstractFeatureDialog(String name, String featureID, Registry registry)
public JDialog getJDialog()
getJDialog in interface WWODialogpublic void initialize(Controller controller)
initialize in interface Initializableinitialize in class AbstractFeatureprotected void insertCenterDialogComponent(JComponent component)
protected void insertDialogComponent(JComponent component)
protected void insertLeftDialogComponent(JComponent component)
protected void insertRightDialogComponent(JComponent component)
protected void setLocation(int horizontal,
int vertical)
protected void setTaskComponent(JComponent component)
protected void setTaskPanel(FeaturePanel panel)
protected void setTaskPanel(String featureID)
public void setTitle(String title)
public void setVisible(boolean tf)
setVisible in interface WWODialogpublic void turnOn(boolean tf)
turnOn in interface FeatureturnOn in class AbstractFeature