| Modifier and Type | Class and Description |
|---|---|
static class |
Elements.EmptyFadeCallback |
static interface |
Elements.FadeCallback |
| Constructor and Description |
|---|
Elements() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fadeIn(com.google.gwt.dom.client.Element e,
int milliseconds,
int maxOpacity,
Elements.FadeCallback callback) |
static void |
fadeIn(com.google.gwt.user.client.ui.UIObject target,
int milliseconds,
int maxOpacity,
Elements.FadeCallback callback)
Causes an element to "fade in" via opacity.
|
static void |
fadeOut(com.google.gwt.dom.client.Element e,
int milliseconds,
int minOpacity,
Elements.FadeCallback callback) |
static void |
fadeOut(com.google.gwt.user.client.ui.UIObject target,
int milliseconds,
int minOpacity,
Elements.FadeCallback callback)
Causes an element to "fade out" via opacity.
|
static void |
setOpacity(com.google.gwt.dom.client.Element e,
int percent)
Sets a DOM element's opacity
|
static void |
setOpacity(com.google.gwt.user.client.ui.UIObject u,
int percent)
Sets a UIObject's opacity
|
static void |
setTextSelectable(com.google.gwt.dom.client.Element e,
boolean selectable)
Enables/disables text selection for the specified element.
|
public Elements()
public static void fadeIn(com.google.gwt.user.client.ui.UIObject target, int milliseconds, int maxOpacity, Elements.FadeCallback callback)
target - the UIObject to be faded inmilliseconds - how long the fade effect should take to processmaxOpacity - final opacitycallback - the callback to be invoked on fade progresspublic static void fadeIn(com.google.gwt.dom.client.Element e, int milliseconds, int maxOpacity, Elements.FadeCallback callback)
public static void fadeOut(com.google.gwt.user.client.ui.UIObject target, int milliseconds, int minOpacity, Elements.FadeCallback callback)
target - the UIObject to be faded outmilliseconds - how long the fade effect should take to processminOpacity - final opacitycallback - the callback to be invoked on fade progresspublic static void fadeOut(com.google.gwt.dom.client.Element e, int milliseconds, int minOpacity, Elements.FadeCallback callback)
public static void setOpacity(com.google.gwt.user.client.ui.UIObject u, int percent)
u - percent - public static void setOpacity(com.google.gwt.dom.client.Element e, int percent)
e - percent - public static void setTextSelectable(com.google.gwt.dom.client.Element e, boolean selectable)
e - selectable - Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.