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, featureID
changeSupport, enabled
ACCELERATOR_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, setMenuAccellerator
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFeatureID, getName, isOn, isTwoState
isInitialized
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
actionPerformed
propertyChange
protected 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 WWODialog
public void initialize(Controller controller)
initialize
in interface Initializable
initialize
in class AbstractFeature
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)
public void setTitle(String title)
public void setVisible(boolean tf)
setVisible
in interface WWODialog
public void turnOn(boolean tf)
turnOn
in interface Feature
turnOn
in class AbstractFeature