| Package | Description |
|---|---|
| com.threerings.gwt.ui |
User interface components, animation support and utilities.
|
| com.threerings.gwt.util |
Miscellaneous utilities.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Bindings.bindDown(Value<Boolean> value,
ToggleButton toggle)
Binds the specified toggle button to the supplied boolean value.
|
static void |
Bindings.bindEnabled(Value<Boolean> value,
FocusWidget... targets)
Binds the enabledness state of the target widget to the supplied boolean value.
|
static <T extends HasMouseOverHandlers & HasMouseOutHandlers> |
Bindings.bindHovered(Value<Boolean> value,
T... targets)
Binds the hovered state of the supplied target widgets to the supplied boolean value.
|
static void |
Bindings.bindLabel(Value<String> value,
HasText target)
Binds the specified string value to the supplied text-having widget.
|
static void |
Popups.bindPopped(Value<Boolean> popped,
PopupPanel panel)
Binds the popped up state of a popup to the supplied boolean value and vice versa (i.e.
|
static void |
Popups.bindPopped(Value<Boolean> popped,
Popups.Position pos,
Widget target,
PopupPanel panel)
Binds the popped up state of a popup to the supplied boolean value and vice versa (i.e.
|
static void |
Popups.bindPopped(Value<Boolean> popped,
Popups.Position pos,
Widget target,
Popups.Thunk thunk)
Binds the popped up state of a popup to the supplied boolean value and vice versa (i.e.
|
static void |
Popups.bindPopped(Value<Boolean> popped,
Popups.Thunk thunk)
Binds the popped up state of a popup to the supplied boolean value and vice versa (i.e.
|
static void |
Bindings.bindStateStyle(Value<Boolean> value,
String onStyle,
String offStyle,
Widget... targets)
Configures either `onStyle` or `offStyle` on the supplied target widgets depending on the
state of the supplied boolean `value`.
|
static void |
Bindings.bindText(Value<String> value,
TextBoxBase text)
Binds the contents of the supplied text box to the supplied string value.
|
static void |
Bindings.bindVisible(Value<Boolean> value,
Bindings.Thunk thunk)
Binds the visible state of a to-be-created widget to the supplied boolean value.
|
static void |
Bindings.bindVisible(Value<Boolean> value,
Widget... targets)
Binds the visible state of the target widget to the supplied boolean value.
|
static <T> ValueLabel<T> |
ValueLabel.create(Value<T> value,
String... styles)
Creates a value label for the supplied value with the specified CSS styles.
|
static <T extends Widget & HasClickHandlers> |
Widgets.makeActionable(T target,
ClickHandler onClick,
Value<Boolean> enabled)
Makes the supplied widget "actionable" which means adding the "actionLabel" style to it and
binding the supplied click handler.
|
static ClickHandler |
Bindings.makeToggler(Value<Boolean> value)
Returns a click handler that toggles the supplied boolean value when clicked.
|
| Constructor and Description |
|---|
ValueHTML(Value<T> value,
String... styles)
Creates a value HTML with the supplied value and CSS styles.
|
ValueLabel(Value<T> value,
String... styles)
Creates a value label with the supplied value and CSS styles.
|
| Modifier and Type | Field and Description |
|---|---|
Value<Boolean> |
PopupStack.popupShowing
A value indicating whether or not a popup is currently showing.
|
| Modifier and Type | Method and Description |
|---|---|
static Value<Boolean> |
Values.and(Iterable<Value<Boolean>> values)
Returns a value which is the logical AND of the supplied values.
|
static Value<Boolean> |
Values.and(Value<Boolean>... values)
Returns a value which is the logical AND of the supplied values.
|
static <T> Value<T> |
Value.create(T value)
Creates a new value with the specified initial value.
|
<M> Value<M> |
Value.map(Function<T,M> func)
Creates a value that maps this value via a function.
|
static Value<Boolean> |
Values.not(Value<Boolean> value)
Returns a value which is the logical NOT of the supplied value.
|
static Value<Boolean> |
Values.or(Iterable<Value<Boolean>> values)
Returns a value which is the logical OR of the supplied values.
|
static Value<Boolean> |
Values.or(Value<Boolean>... values)
Returns a value which is the logical OR of the supplied values.
|
| Modifier and Type | Method and Description |
|---|---|
static Value<Boolean> |
Values.and(Value<Boolean>... values)
Returns a value which is the logical AND of the supplied values.
|
static Value<Boolean> |
Values.not(Value<Boolean> value)
Returns a value which is the logical NOT of the supplied value.
|
static Value<Boolean> |
Values.or(Value<Boolean>... values)
Returns a value which is the logical OR of the supplied values.
|
| Modifier and Type | Method and Description |
|---|---|
static Value<Boolean> |
Values.and(Iterable<Value<Boolean>> values)
Returns a value which is the logical AND of the supplied values.
|
static Value<Boolean> |
Values.or(Iterable<Value<Boolean>> values)
Returns a value which is the logical OR of the supplied values.
|
Copyright © 2013. All Rights Reserved.