|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.event.BaseObservable
com.extjs.gxt.ui.client.aria.FocusFrame
public class FocusFrame
Adds a frame around a given component to indicate a component has focus.
Method Summary | |
---|---|
void |
frame(Component newComponent)
Frames the given component. |
void |
frame(Component newComponent,
com.google.gwt.user.client.Element newElement)
Frames the given component. |
static FocusFrame |
get()
|
void |
hide(Component c)
Hides the frame. |
protected void |
init()
|
void |
show(Component c)
Shows the frame on a component that has been previously framed. |
void |
sync(Component c)
Updates the frame's size and position to match the component. |
void |
sync(Component c,
com.google.gwt.user.client.Element elem)
Updates the frame's size and position to match the component's child element. |
void |
unframe()
Removes and visible frames. |
void |
unframe(Component c)
Remove the comonent's frame. |
Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable |
---|
addListener, callListener, fireEvent, fireEvent, getFiresEvents, getListeners, hasActiveEvent, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static FocusFrame get()
public void frame(Component newComponent)
newComponent
- the component to be framedpublic void frame(Component newComponent, com.google.gwt.user.client.Element newElement)
newComponent
- the component to be framednewElement
- a child element of the component where the frame should
be appliedpublic void hide(Component c)
c
- the framed componentpublic void show(Component c)
c
- the componentpublic void sync(Component c)
c
- the componentpublic void sync(Component c, com.google.gwt.user.client.Element elem)
c
- the componentelem
- the child elementpublic void unframe()
public void unframe(Component c)
c
- the componentprotected void init()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |