Enum Feature.Event
- java.lang.Object
-
- java.lang.Enum<Feature.Event>
-
- de.willuhn.jameica.gui.parts.table.Feature.Event
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Feature.Event>
- Enclosing interface:
- Feature
public static enum Feature.Event extends java.lang.Enum<Feature.Event>
Liste der Events, auf die ein Feature reagieren kann.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDED
Wird ausgeloest, wenn ein Datensatz hinzugefuegt wurde.PAINT
Wird ausgeloest, wenn die paint()-Funktion der Tabelle aufgerufen wird.REFRESH
Wird ausgeloest, wenn die Anzeige explizit aktualisiert werden soll.REMOVED
Wird ausgeloest, wenn ein Datensatz entfernt wurde.REMOVED_ALL
Wird ausgeloest, wenn die komplette Tabelle geleert wurde.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Feature.Event
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Feature.Event[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PAINT
public static final Feature.Event PAINT
Wird ausgeloest, wenn die paint()-Funktion der Tabelle aufgerufen wird.
-
REFRESH
public static final Feature.Event REFRESH
Wird ausgeloest, wenn die Anzeige explizit aktualisiert werden soll.
-
ADDED
public static final Feature.Event ADDED
Wird ausgeloest, wenn ein Datensatz hinzugefuegt wurde.
-
REMOVED
public static final Feature.Event REMOVED
Wird ausgeloest, wenn ein Datensatz entfernt wurde.
-
REMOVED_ALL
public static final Feature.Event REMOVED_ALL
Wird ausgeloest, wenn die komplette Tabelle geleert wurde.
-
-
Method Detail
-
values
public static Feature.Event[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Feature.Event c : Feature.Event.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Feature.Event valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-