-
Notifications
You must be signed in to change notification settings - Fork 16
Annotations Reference
Disclaimer: Palantir Technologies is not affiliated with, endorsed or sponsored by Palantir.net, Inc. Palantir.net's website is http://palantir.net
- @Action
- @Bindable
- @Bound
- @BoundExtent
- @BoundLocation
- @BoundSelection
- @CallOnUpdate
- @EnabledIf
- @NotBindable
- @OnChange
- @OnClick
- @OnFocusChange
- @VisibleIf
- Documentation Home
- Tutorial & Examples - a tour through a set of runnable examples that explain using the framework.
- More Examples - a list of examples included in the Cinch source tree.
A component binding that will call a method when an action occurs.
Examples:
Marks a model as a bindable model. This makes the fields of the model bindable by individual controls using the @Bound annotation
Examples:
Used to bind a UI control to a model property, where property is meant in a strict Java sense.
Examples:
A binding for an interface component that has an extent (setExtent/getExtent methods).
Examples:
A binding for an interface component that has a location (setLocation/getLocation methods).
Examples:
A binding for an interface component that has a selection like a JList or JComboBox.
Examples:
An annotation to mark that a method should be called when the bound model updates in a specific way. Takes the name of the model to bind to and the type of updates to respond to.
Examples:
A binding that will set the enabled state of the annotated component to the state of a model boolean.
Examples:
Marks the annotated field as not bindable. This can be used to mark non-final bindable models.
No examples for this annotation. See Javadoc for full documenation.
A component binding that will call a method when an action occurs.
Examples:
A binding that will call a method when the on-click action occurs on this component.
Examples:
A binding that will call one method when the bound component loses focus, and another method when focus is gained.
Examples:
A binding that will set the Visible state of the annotated component to the state of a model boolean.
Examples: