public static enum ContextChangeEvent.Reason extends Enum<ContextChangeEvent.Reason>
Enum Constant and Description |
---|
CLIPBOARD_CHANGED
The contents of the clipboard was changed "from the outside",
that is, by an external application or more simply
by Ctrl-C pressed in a
JTextField
belonging to the GUI of the XML editor. |
FORCED
Client code has invoked
MarkManager.notifyContextChangeListeners()
to force sending this event. |
MARKS_CHANGED
Some selection marks have changed.
|
Modifier and Type | Method and Description |
---|---|
static ContextChangeEvent.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContextChangeEvent.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContextChangeEvent.Reason MARKS_CHANGED
public static final ContextChangeEvent.Reason FORCED
MarkManager.notifyContextChangeListeners()
to force sending this event.public static final ContextChangeEvent.Reason CLIPBOARD_CHANGED
JTextField
belonging to the GUI of the XML editor.public static ContextChangeEvent.Reason[] values()
for (ContextChangeEvent.Reason c : ContextChangeEvent.Reason.values()) System.out.println(c);
public static ContextChangeEvent.Reason valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null