|
||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface class for displaying objects in UI text components like table cells, lists,
labels and text fields. Implementations must not directly implement this interface but
have to implement on of the child interfaces TextFormat
or BooleanFormat
.
Field Summary | |
static String |
DEFAULT
Used for default formats. |
Method Summary | |
boolean |
canFormat(Class aClass)
|
boolean |
canParse(Class aClass)
|
String |
getGroup()
The name of the group the format belongs to. |
String |
getName()
Returns the name of the format. |
Field Detail |
public static final String DEFAULT
getName()
,
Method Detail |
public String getName()
null
.public String getGroup()
null
the format will appear in the root menu.public boolean canFormat(Class aClass)
true
if the format can format objects of the specified class.public boolean canParse(Class aClass)
true
if the format can create objects of the specified class
from String
objects.
|
||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |