Package com.palantir.ptoss.cinch.core
Enum Class ModelUpdates
- All Implemented Interfaces:
- ModelUpdate,- Serializable,- Comparable<ModelUpdates>,- Constable
Pre-defined 
ModelUpdate types with special meanings to the framework.- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThis is used to sync all listeners.You can use this to mean data, as opposed to meta-data.This can be used to separate data from meta-data.This is used for unspecified update types in the default implementations ofBindableModel.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ModelUpdatesReturns the enum constant of this class with the specified name.static ModelUpdates[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
UNSPECIFIEDThis is used for unspecified update types in the default implementations of BindableModel. Listeners that don't have a specified "on" parameter should react to these model updates.Note: when bound to a specific ModelUpdate, a control will not receive updates not sent specifically to anyModelUpdate- i.e. default updates. To selectively answer a specificModelUpdateand also still get default notifications, addUNSPECIFIEDto the list ofModelUpdates passed toBound.on().- See Also:
 
- 
ALLThis is used to sync all listeners. All listeners, regardless of whether they have an "on" parameter, should react to these model updates.
- 
DATAYou can use this to mean data, as opposed to meta-data. No special meaning to the framework.
- 
METAThis can be used to separate data from meta-data. No special meaning to the framework.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-