public static interface FoldType.Domain
FoldType
s for one MIME type.
The instance collects all FoldTypes defined for a certain MIME type. "" mime type
represents 'global' FoldTypes.
The instance will fire change events when the set of fold types change, e.g. as a result
of enabled/disabled modules (appearance of FoldTypeProvider
).Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ChangeListener l)
Attaches listener to be notified when set of FoldTypes change.
|
void |
removeChangeListener(ChangeListener l)
Detaches the change listener
|
FoldType |
valueOf(String s)
Translates String code into FoldType.
|
Collection<FoldType> |
values()
Enumerates FoldTypes.
|
Collection<FoldType> values()
FoldType valueOf(String s)
s
- code valuevoid addChangeListener(ChangeListener l)
l
- listener instance.void removeChangeListener(ChangeListener l)
l
- listener instance.