de.winterfish.neon.model
Class DefaultDataType
java.lang.Object
|
+--de.winterfish.neon.model.DefaultDataType
- All Implemented Interfaces:
- DataType
- Direct Known Subclasses:
- HtmlType, TextType
- public class DefaultDataType
- extends java.lang.Object
- implements DataType
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DefaultDataType
public DefaultDataType(java.lang.String[] types,
javax.swing.ImageIcon icon,
java.lang.String description,
NeonViewer viewer,
NeonEditor editor)
getTypes
public java.util.Iterator getTypes()
- Specified by:
getTypes
in interface DataType
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface DataType
getIcon
public javax.swing.ImageIcon getIcon()
- Specified by:
getIcon
in interface DataType
setViewer
public void setViewer(NeonViewer viewer)
- Specified by:
setViewer
in interface DataType
getViewer
public NeonViewer getViewer()
- Specified by:
getViewer
in interface DataType
setEditor
public void setEditor(NeonEditor editor)
- Specified by:
setEditor
in interface DataType
getEditor
public NeonEditor getEditor()
- Specified by:
getEditor
in interface DataType
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getWords
public java.util.Iterator getWords(DataNode node)
- Specified by:
getWords
in interface DataType