|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.gwtext.client.widgets.Component
com.gwtext.client.widgets.BoxComponent
com.gwtext.client.widgets.Container
com.gwtext.client.widgets.Panel
com.gwtext.client.widgets.FocusPanel
public class FocusPanel
This class replicates the FocusPanel provided by GWT but subclassing from the GWTExt Panel instead. Mainly, this class provides events listeners for the Panel not available on the normal Panel.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Field Summary |
---|
Fields inherited from class com.gwtext.client.widgets.Component |
---|
config, id |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
|
FocusPanel()
|
protected |
FocusPanel(com.google.gwt.core.client.JavaScriptObject jsObj)
FocusPanel can be reconstructed from the javascript object itself |
|
FocusPanel(java.lang.String title)
Construct a new Panel with the given title. |
|
FocusPanel(java.lang.String title,
int width,
int height)
Constructor that accepts the title and the width and height of the panel |
|
FocusPanel(java.lang.String title,
java.lang.String html)
Constructor to use title and the html used internally |
Method Summary | |
---|---|
void |
addListener(FocusPanelListener listener)
Add listeners for the different events |
int |
getZIndex()
|
void |
setAccessKey(char key)
|
void |
setFocus(boolean focused)
|
void |
setTabIndex(int index)
|
void |
setZIndex(int index)
|
Methods inherited from class com.gwtext.client.widgets.Container |
---|
add, add, add, add, addListener, bubble, cascade, clear, doLayout, doLayout, findBy, findByID, findByType, getActiveItem, getActiveItemID, getAutoDestroy, getBufferResize, getComponent, getComponent, getComponents, getHideBorders, getItems, getLayout, getMonitorResize, insert, iterator, remove, remove, remove, remove, removeAll, removeAll, setActiveItem, setActiveItemID, setAutoDestroy, setBufferResize, setDefaults, setHideBorders, setLayout, setMonitorResize |
Methods inherited from class com.gwtext.client.widgets.BoxComponent |
---|
addListener, doOnRender, doOnRender, getAutoHeight, getAutoWidth, getBox, getBox, getHeight, getPosition, getPosition, getSize, getWidth, setAutoHeight, setAutoWidth, setHeight, setHeight, setPagePosition, setPosition, setSize, setSize, setWidth, setWidth, syncSize, updateBox |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
doAttachChildren, doDetachChildren, getParent, isAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, setElement, setPixelSize, setStyleName, setStyleName, setStylePrimaryName, setVisible, sinkEvents, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FocusPanel()
public FocusPanel(java.lang.String title)
title
- the titlepublic FocusPanel(java.lang.String title, java.lang.String html)
title
- title for the panelhtml
- the inner html in the panelpublic FocusPanel(java.lang.String title, int width, int height)
title
- title for the panelwidth
- the width for the panelheight
- the height of the panelprotected FocusPanel(com.google.gwt.core.client.JavaScriptObject jsObj)
jsObj
- Method Detail |
---|
public void addListener(FocusPanelListener listener)
listener
- public void setAccessKey(char key)
public void setFocus(boolean focused)
public void setTabIndex(int index)
public int getZIndex()
public void setZIndex(int index)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |