|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.visuals.IndexedPropertyEditorHost
public class IndexedPropertyEditorHost
Field Summary | |
---|---|
protected java.lang.Object |
bean
|
protected Button |
customButton
The Button to allow access to the custom editor if supportsCustomEditor returns true. |
protected int |
index
|
protected java.lang.String |
property
|
Constructor Summary | |
---|---|
IndexedPropertyEditorHost()
The constructor. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
actionPerformed is an event handler for the TextField used to enter the property value and the Button which is used to bring up the custom editor. |
protected void |
createControls()
Create the controls for the UI. |
void |
initialize()
Do common setup. |
void |
setProperty(java.lang.Object bean,
java.lang.String property)
|
void |
showCustomEditor()
showCustomEditor creates a dialog to display the custom editor if the custom editor is not a subclass of Dialog or Frame. |
void |
windowActivated(java.awt.event.WindowEvent evt)
|
void |
windowClosed(java.awt.event.WindowEvent evt)
|
void |
windowClosing(java.awt.event.WindowEvent evt)
|
void |
windowDeactivated(java.awt.event.WindowEvent evt)
|
void |
windowDeiconified(java.awt.event.WindowEvent evt)
|
void |
windowIconified(java.awt.event.WindowEvent evt)
|
void |
windowOpened(java.awt.event.WindowEvent evt)
|
Methods inherited from class com.sas.awt.Container |
---|
getDefaultHeight, getDefaultWidth, getExtendedBeanInfo, setDefaultHeight, setDefaultValues, setDefaultWidth |
Methods inherited from interface com.sas.awt.ContainerInterface |
---|
getComponents, getLayout, invalidate, setLayout, validate |
Field Detail |
---|
protected java.lang.Object bean
protected java.lang.String property
protected int index
protected Button customButton
Constructor Detail |
---|
public IndexedPropertyEditorHost()
Method Detail |
---|
public void initialize()
initialize
in interface com.sas.ComponentInterface
initialize
in class ContainerVisualComponent
ComponentInterface.initialize()
public void setProperty(java.lang.Object bean, java.lang.String property)
protected void createControls()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void showCustomEditor()
Subclasses may want to override this method and bring up the custom editor some other way.
public void windowOpened(java.awt.event.WindowEvent evt)
windowOpened
in interface java.awt.event.WindowListener
public void windowClosing(java.awt.event.WindowEvent evt)
windowClosing
in interface java.awt.event.WindowListener
public void windowClosed(java.awt.event.WindowEvent evt)
windowClosed
in interface java.awt.event.WindowListener
public void windowIconified(java.awt.event.WindowEvent evt)
windowIconified
in interface java.awt.event.WindowListener
public void windowDeiconified(java.awt.event.WindowEvent evt)
windowDeiconified
in interface java.awt.event.WindowListener
public void windowActivated(java.awt.event.WindowEvent evt)
windowActivated
in interface java.awt.event.WindowListener
public void windowDeactivated(java.awt.event.WindowEvent evt)
windowDeactivated
in interface java.awt.event.WindowListener
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |