|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.swing.visuals.SwingCustomizerPanel
public abstract class SwingCustomizerPanel
CustomizerPanel is an abstract class from which each component's customizer tabs should derive from. It provides PropertyChangeListener support and a place to store a reference to the object being customized.
Field Summary | |
---|---|
protected java.lang.Object |
bean
|
protected java.lang.String |
tabTitle
|
Fields inherited from interface com.sas.swing.visuals.util.LayoutConstants |
---|
DOTS_BUTTON_INSETS, EMPTY_INSETS, HGAP, HMARGIN, INDENTED_BORDER, TAB_BORDER, TEXTFIELD_INSETS, VGAP, VMARGIN |
Constructor Summary | |
---|---|
SwingCustomizerPanel()
Constructor used to pass the tab name up to the superclass. |
|
SwingCustomizerPanel(java.lang.String tabName)
Constructor used to pass the tab name up to the superclass. |
Method Summary | |
---|---|
void |
customizerClosing()
customizerClosing() is called when the customizer for a component is closed. |
java.lang.Object |
getObject()
Returns the Object being customized. |
java.lang.String |
getTabTitle()
Returns the tab's title. |
void |
setObject(java.lang.Object bean)
Sets the Object being customized. |
void |
setTabTitle(java.lang.String tabName)
Sets the Tab title. |
Field Detail |
---|
protected java.lang.Object bean
protected java.lang.String tabTitle
Constructor Detail |
---|
public SwingCustomizerPanel(java.lang.String tabName)
public SwingCustomizerPanel()
Method Detail |
---|
public void customizerClosing()
customizerClosing() should "unhook" the bean from the customizer by removing any event listeners the panel added to the bean.
Subclasses should call super in case we add some functionality to this method in the future.
customizerClosing
in interface com.sas.beans.CustomizerClosingInterface
public java.lang.Object getObject()
setObject(java.lang.Object)
public void setObject(java.lang.Object bean)
setObject
in interface java.beans.Customizer
bean
- the Object being customized.Customizer.setObject(java.lang.Object)
public java.lang.String getTabTitle()
setTabTitle(java.lang.String)
public void setTabTitle(java.lang.String tabName)
tabName
- the title for the tab.
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |