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.


Fields inherited from class com.inline.feature.ui.AbstractDisplayProperties
object
 
Fields inherited from interface com.inline.feature.ui.NodeDisplayProperties
INHERITED_FEATURE_STYLE, NORMAL_STYLE
 
Constructor Summary
AbstractNodeDisplayProperties(Displayable object)
           
 
Method Summary
 javax.swing.Icon getAlternativeIcon()
          Returns getIcon()
 java.lang.Class getEditorClass()
          Returns the property editor class which should be a subclass of JComponent.
 javax.swing.Icon getIcon()
           
 java.lang.String getNodeStyle()
          Returns NORMAL_STYLE
 boolean isSubtreeRoot()
          Returns false
 
Methods inherited from class com.inline.feature.ui.AbstractDisplayProperties
compareTo, getGroupTitle, getObject, getTypeTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractNodeDisplayProperties

public AbstractNodeDisplayProperties(Displayable object)
Method Detail

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