|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gishur.graph.awt.PropertyTypeSelector
Constructor Summary | |
PropertyTypeSelector()
|
Method Summary | |
java.lang.String[] |
getSortedTypeNames()
Returns a sorted array with the registered type names. |
TypeFormat |
getTypeFormat(java.lang.Object value)
Returns the TypeFormat associated with the given value object. |
TypeFormat |
getTypeFormat(java.lang.String name)
Returns the TypeFormat associated with the given type name. |
void |
registerTypeFormat(TypeFormat fmt)
Registers a TypeFormat to the PropertyTypeSelector . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PropertyTypeSelector()
Method Detail |
public void registerTypeFormat(TypeFormat fmt)
TypeFormat
to the PropertyTypeSelector
.fmt
- the TypeFormat
to registerpublic TypeFormat getTypeFormat(java.lang.String name)
TypeFormat
associated with the given type name.name
- the type name to queryTypeFormat
or null
if none.public TypeFormat getTypeFormat(java.lang.Object value)
TypeFormat
associated with the given value object.value
- the object type to queryTypeFormat
or null
if none.public java.lang.String[] getSortedTypeNames()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |