|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.dse.tools.workbench.gui.PropertyUI
This class provides an user interface for Properties.
| Field Summary | |
protected PropertyCellEditor |
cellEditor
|
protected PropertyCellRenderer |
cellRenderer
|
protected static java.lang.String |
OPTION_DELETE_TEXT
|
protected static java.lang.String |
PROPERTY_MENU_EXTENSIONS
|
protected static java.lang.String |
SECTION
|
| Fields inherited from interface com.ibm.dse.tools.workbench.gui.UIDelegate |
MENU_EXTENSIONS_SECTION |
| Fields inherited from interface com.ibm.dse.tools.workbench.gui.CommonParameters |
CHANGE_LISTENER,
CONTAINER_GROUPS,
CURRENT_GROUP,
PARENT_ROW,
REPOSITORY,
ROW_SELECTION_COUNT,
SELECTED_PARENT_ROWS,
SELECTED_ROWS,
WIZARD_PARAM,
WORKSPACE |
| Fields inherited from interface com.ibm.dse.tools.workbench.base.TableNames |
ALLOWED_VALUES,
ATTRIBUTES,
DOMAINS,
ENTITIES,
ENTITIES_ENTITIES,
GROUPS,
GROUPS_ENTITIES,
GROUPS_GROUPS,
GROUPS_INSTANCES,
INSTANCE_ERRORS,
INSTANCES,
PROPERTIES,
USERS |
| Constructor Summary | |
PropertyUI()
This constructor creates a PropertyUI object. |
|
| Method Summary | |
void |
addChangeListener(DWChangeListener listener)
This method adds a DWChangeListener listener to the listener list. |
protected void |
fireStateChanged(TableRow tableRowChanged)
To tell to the listener that a event has occurred. |
protected void |
fireStateChanged(TableRow[] tableRowsChanged)
To tell to the listener that a event has occurred. |
protected void |
fireStateChanged(TableRow[] tableRowsChanged,
int action)
To tell to the listener that a event has occurred. |
protected void |
fireStateChanged(TableRow tableRowChanged,
int action)
To tell to the listener that a event has occurred. |
javax.swing.JComponent |
getEditor(javax.swing.JComponent component)
This method returns the editor component for the class and for a type of component. |
java.awt.Component |
getListCellRendererComponent(javax.swing.JList list,
java.lang.Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
This method returns the renderer component for a JList. |
java.awt.Component[] |
getOptionList(TableRow row,
java.util.Hashtable params)
This method returns the specific options for a class. |
javax.swing.Renderer |
getRenderer(javax.swing.JComponent component)
This method returns the renderer component for this element and for a type of component. |
java.awt.Component |
getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int rowIndex,
int columnIndex)
This method returns the cell renderer for a JTable. |
java.awt.Component |
getTreeCellRendererComponent(javax.swing.JTree tree,
java.lang.Object value,
boolean selected,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus)
This method returns the renderer component for a JTree. |
void |
launchWizard(TableRow tableRow,
java.util.Hashtable params)
This method launches the appropiate wizard to edit the property. |
void |
refreshRenderers()
This method update and refresh all the renderers. |
void |
removeChangeListener(DWChangeListener listener)
This method removes a DWChangeListener listener from the listener list. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
protected static final java.lang.String SECTION
protected static final java.lang.String OPTION_DELETE_TEXT
protected PropertyCellRenderer cellRenderer
protected PropertyCellEditor cellEditor
protected static final java.lang.String PROPERTY_MENU_EXTENSIONS
| Constructor Detail |
public PropertyUI()
| Method Detail |
public void addChangeListener(DWChangeListener listener)
com.ibm.dse.tools.workbench.gui.DWChangeListener - listenerprotected void fireStateChanged(TableRow[] tableRowsChanged)
tableRowsChanged - TableRow[] The table rows that have been changed.
protected void fireStateChanged(TableRow[] tableRowsChanged,
int action)
tableRowsChanged - TableRow[] The table rows that have been changed.action - int.protected void fireStateChanged(TableRow tableRowChanged)
tableRowChanged - TableRow The table row that has changed.
protected void fireStateChanged(TableRow tableRowChanged,
int action)
tableRowChanged - TableRow The table row that has changed.action - int.public javax.swing.JComponent getEditor(javax.swing.JComponent component)
component - javax.swing.JComponent
public java.awt.Component getListCellRendererComponent(javax.swing.JList list,
java.lang.Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
list - javax.swing.JListvalue - java.lang.Objectindex - intisSelected - booleancellHasFocus - boolean
public java.awt.Component[] getOptionList(TableRow row,
java.util.Hashtable params)
row - com.ibm.dse.tools.workbench.base.TableRowparams - java.util.Hashtablepublic javax.swing.Renderer getRenderer(javax.swing.JComponent component)
component - javax.swing.JComponent
public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int rowIndex,
int columnIndex)
table - javax.swing.JTablevalue - java.lang.ObjectisSelected - booleanhasFocus - booleanrowIndex - intcolumnIndex - int
public java.awt.Component getTreeCellRendererComponent(javax.swing.JTree tree,
java.lang.Object value,
boolean selected,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus)
table - javax.swing.JTreevalue - java.lang.ObjectisSelected - booleanexpanded - booleanleaf - booleanrow - inthasFocus - boolean
public void launchWizard(TableRow tableRow,
java.util.Hashtable params)
row - com.ibm.dse.tools.workbench.base.TableRowparams - java.util.Hashtablepublic void refreshRenderers()
public void removeChangeListener(DWChangeListener listener)
com.ibm.dse.tools.workbench.gui.DWChangeListener - listener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||