|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.student.common.ui.client.util.Elements
public class Elements
Utility class for DOM element manipulations, UIObject effects, etc.
Nested Class Summary | |
---|---|
static class |
Elements.EmptyFadeCallback
|
static interface |
Elements.FadeCallback
|
Constructor Summary | |
---|---|
Elements()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Elements()
Method Detail |
---|
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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |