Package com.palantir.ptoss.cinch.swing
Annotation Type Bound
- 
 @Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface BoundUsed to bind a UI control to a model property, where property is meant in a strict Java sense.
- 
- 
Required Element SummaryRequired Elements Modifier and Type Required Element Description java.lang.StringtoThe property to bind to.
 - 
Optional Element SummaryOptional Elements Modifier and Type Optional Element Description java.lang.String[]eventsA hint as to what event should be used to listen to the component for changes.java.lang.StringnullValueUsed to add a null value to aJComboBox.java.lang.String[]onSpecifies theModelUpdates on which the binding will occur.java.lang.StringvalueUsed for enum/boolean values forJRadioButtons andJToggleButtons.
 
- 
- 
- 
- 
onjava.lang.String[] on Specifies the ModelUpdates on which the binding will occur. Defaults to empty, which indicates all updates.Note: when bound to a specific ModelUpdate, a control will not receive not sent specifically to anyModelUpdate- i.e. default updates. To selectively answer a specificModelUpdateand also still get default notications, addModelUpdates.UNSPECIFIEDto the list ofModelUpdates passed toon().- See Also:
- ModelUpdates
 - Default:
- {""}
 
 
- 
 - 
- 
valuejava.lang.String value Used for enum/boolean values forJRadioButtons andJToggleButtons. Valid values for booleans are "true", "false", and unset. When "true" the button will indicate a selected state, "false" indicates unselected state, and unset will indicate the state of the backing boolean.- Default:
- ""
 
 
- 
 - 
- 
eventsjava.lang.String[] events A hint as to what event should be used to listen to the component for changes. Currently only used by the JTextComponentWiringHarness. Default is to use a document listener, which will fire the binding every time the document changes. Use event="actionPerformed" to use an ActionListener instead, or event="focusLost" to use focus loss.- Default:
- {}
 
 
- 
 
-