gishur.graph.awt
Interface TypeFormat
- All Superinterfaces:
- java.lang.Cloneable, Cloneable
- All Known Implementing Classes:
- StringTypeFormat, NumberTypeFormat, BooleanTypeFormat, FlowTypeFormat
- public interface TypeFormat
- extends Cloneable
- Version:
- 1.0
- Author:
- Thomas Wolf
Method Summary |
java.awt.Component |
getComponent()
Returns the java.awt.Component , that handles the input. |
java.lang.String |
getFormatName()
Returns the name, under which this TypeFormat should be handled. |
java.lang.Class[] |
getTypeClasses()
Returns all classes, that this TypeFormat likes to handle. |
java.lang.Object |
getValue()
Returns the actual value. |
void |
setValue(java.lang.Object value)
Sets the value; it should be showed by the connected input component. |
getTypeClasses
public java.lang.Class[] getTypeClasses()
- Returns all classes, that this
TypeFormat
likes to handle.
- Returns:
- all classes, that this
TypeFormat
likes to handle.
getFormatName
public java.lang.String getFormatName()
- Returns the name, under which this
TypeFormat
should be handled.
- Returns:
- the name, under which this
TypeFormat
should be handled.
getComponent
public java.awt.Component getComponent()
- Returns the
java.awt.Component
, that handles the input.
- Returns:
- the
java.awt.Component
, that handles the input.
setValue
public void setValue(java.lang.Object value)
- Sets the value; it should be showed by the connected input component.
- Parameters:
value
- the value (of a accepted type)
getValue
public java.lang.Object getValue()
- Returns the actual value.
- Returns:
- the actual value.