com.inline.feature.ui
Class AbstractNodeDisplayProperties
java.lang.Object
|
+--com.inline.feature.ui.AbstractDisplayProperties
|
+--com.inline.feature.ui.AbstractNodeDisplayProperties
- Direct Known Subclasses:
- JavaClassDisplayProperties, JavaFieldDisplayProperties, JavaFileDisplayProperties, JavaMethodDisplayProperties
- public abstract class AbstractNodeDisplayProperties
- extends AbstractDisplayProperties
- implements NodeDisplayProperties, EditorDisplayProperties
A based class for classes that need to implement both NodeDisplayProperties
and EditorDisplayProperties.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
AbstractNodeDisplayProperties
public AbstractNodeDisplayProperties(Displayable object)
getIcon
public javax.swing.Icon getIcon()
- Specified by:
- getIcon in interface NodeDisplayProperties
getAlternativeIcon
public javax.swing.Icon getAlternativeIcon()
- Returns
getIcon()
- Specified by:
- getAlternativeIcon in interface NodeDisplayProperties
getNodeStyle
public java.lang.String getNodeStyle()
- Returns
NORMAL_STYLE
- Specified by:
- getNodeStyle in interface NodeDisplayProperties
isSubtreeRoot
public boolean isSubtreeRoot()
- Returns
false
- Specified by:
- isSubtreeRoot in interface NodeDisplayProperties
getEditorClass
public java.lang.Class getEditorClass()
- Description copied from interface: EditorDisplayProperties
- Returns the property editor class which should be a subclass of JComponent.
The UI using this component should maintain one instance for each editor class.
- Specified by:
- getEditorClass in interface EditorDisplayProperties