|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdsto.dfc.util.BasicPropertyEventSource
dsto.dfc.swing.forms.CustomizersTreeModel.Entry
public static class CustomizersTreeModel.Entry
An entry in the tree model.
| Field Summary | |
|---|---|
protected Component |
customizer
|
protected String |
description
|
protected Icon |
icon
|
protected Icon |
largeIcon
|
protected String |
name
|
| Fields inherited from interface dsto.dfc.swing.icons.Iconic |
|---|
NULL_ICON |
| Constructor Summary | |
|---|---|
CustomizersTreeModel.Entry(String name,
Icon icon,
Icon largeIcon,
String description,
Component customizer)
Create a new entry. |
|
CustomizersTreeModel.Entry(String name,
String description,
Component customizer)
Create a new entry. |
|
| Method Summary | |
|---|---|
void |
dispose()
Dispose of the object (unregister listeners, close open resources etc). |
Component |
getCustomizer()
|
String |
getDescription()
|
Icon |
getIcon()
The small (16x16) icon for the object. |
Icon |
getLargeIcon()
The large (32x32) icon. |
String |
getName()
The human-readable name for the object. |
void |
setIcon(Icon newValue)
|
void |
setLargeIcon(Icon newValue)
|
void |
setName(String newValue)
|
String |
toString()
|
| Methods inherited from class dsto.dfc.util.BasicPropertyEventSource |
|---|
addPropertyChangeListener, clone, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeSource, removePropertyChangeListener, setPropertyChangeSource |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected Icon icon
protected Icon largeIcon
protected String description
protected Component customizer
| Constructor Detail |
|---|
public CustomizersTreeModel.Entry(String name,
String description,
Component customizer)
name - The name that appears in the tree.description - The descriptive text that will appear above
the customizer. May be null.customizer - The customizer component.
public CustomizersTreeModel.Entry(String name,
Icon icon,
Icon largeIcon,
String description,
Component customizer)
name - The name that appears in the tree.icon - The icon that appears in the tree.largeIcon - The large icon that appears in the customizer
title.description - The descriptive text that will appear above
the customizer. May be null.customizer - The customizer component.| Method Detail |
|---|
public void dispose()
Disposable
dispose in interface Disposablepublic String getName()
Iconic
getName in interface Iconicpublic void setName(String newValue)
public Icon getIcon()
Iconic
getIcon in interface Iconicpublic void setIcon(Icon newValue)
public Icon getLargeIcon()
Iconic
getLargeIcon in interface Iconicpublic void setLargeIcon(Icon newValue)
public String getDescription()
public Component getCustomizer()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||