|
|||||||||
| 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.extjs.gxt.ui.client.widget.Component
com.extjs.gxt.ui.client.widget.BoxComponent
com.extjs.gxt.ui.client.widget.Container<Component>
com.extjs.gxt.ui.client.widget.menu.Menu
com.extjs.gxt.desktop.client.StartMenu
public class StartMenu
A start menu component. Menu items can be added to the main region of the start menu, or to the "tool" area, which is located to the right.
| 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.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
StartMenu()
|
|
| Method Summary | |
|---|---|
void |
addTool(Item item)
Adds a item to the "tool" area of the start menu. |
void |
addToolSeperator()
Adds a seperator to the "too" area. |
Component |
findItem(com.google.gwt.user.client.Element elem)
Returns the component whose element, or child element, matches the given element. |
El |
getFocusEl()
|
java.lang.String |
getHeading()
Returns the start menu's heading. |
java.lang.String |
getIconStyle()
Returns the menu's icon style. |
El |
getLayoutTarget()
Returns the container's layout target. |
void |
setHeading(java.lang.String heading)
Sets the menu's heading text. |
void |
setIconStyle(java.lang.String iconStyle)
Sets the menu's icon style. |
void |
show(com.google.gwt.user.client.Element elem,
java.lang.String pos)
Displays this menu relative to another element. |
| Methods inherited from class com.extjs.gxt.ui.client.widget.menu.Menu |
|---|
add, getDefaultAlign, getMaxHeight, getMinWidth, getParentItem, getSubMenuAlign, hide, hide, insert, isConstrainViewport, isEnableScrolling, isFocusOnShow, isVisible, onComponentEvent, remove, setConstrainViewport, setDefaultAlign, setEnableScrolling, setFocusOnShow, setMaxHeight, setMinWidth, setSubMenuAlign, show, show, showAt |
| Methods inherited from class com.extjs.gxt.ui.client.widget.Container |
|---|
disable, enable, getItem, getItemByItemId, getItemCount, getItems, getWidget, indexOf, iterator, removeAll, scrollIntoView |
| Methods inherited from class com.extjs.gxt.ui.client.widget.BoxComponent |
|---|
getBounds, getHeight, getHeight, getPosition, getShadow, getShadowOffset, getShadowPosition, getSize, getWidth, getWidth, isAutoHeight, isAutoWidth, isDeferHeight, isShim, setAutoHeight, setAutoWidth, setBounds, setBounds, setDeferHeight, setHeight, setHeight, setPagePosition, setPagePosition, setPixelSize, setPosition, setShadow, setShadowOffset, setShadowPosition, setShim, setSize, setSize, setWidth, setWidth, sync, syncSize |
| Methods inherited from class com.extjs.gxt.ui.client.widget.Component |
|---|
addListener, addPlugin, addStyleName, addWidgetListener, clearState, disableEvents, disableTextSelection, el, enableEvents, fireEvent, fireEvent, fireEvent, fly, focus, getBaseStyle, getBorders, getContextMenu, getData, getElement, getHideMode, getId, getItemId, getListeners, getModel, getState, getStateId, getToolTip, hasListeners, hasListeners, hideToolTip, isDisabledEvents, isEnabled, isRendered, isStateful, mask, mask, mask, onBrowserEvent, recalculate, removeAllListeners, removeFromParent, removeListener, removeStyleName, removeSwallow, removeToolTip, removeWidgetListener, render, render, repaint, saveState, setBorders, setContextMenu, setData, setElement, setEnabled, setHideMode, setId, setIntStyleAttribute, setItemId, setStateful, setStateId, setStyleAttribute, setStyleName, setTitle, setToolTip, setToolTip, setVisible, setZIndex, show, sinkEvents, swallowEvent, swallowEvent, toString, unmask |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
fireEvent, getParent, isAttached |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, setStylePrimaryName, setVisible, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StartMenu()
| Method Detail |
|---|
public void addTool(Item item)
item - the item to addpublic void addToolSeperator()
public El getFocusEl()
public java.lang.String getHeading()
public java.lang.String getIconStyle()
public El getLayoutTarget()
Container
getLayoutTarget in class Menupublic void setHeading(java.lang.String heading)
heading - the headingpublic void setIconStyle(java.lang.String iconStyle)
iconStyle - the icon style
public void show(com.google.gwt.user.client.Element elem,
java.lang.String pos)
Menu
show in class Menuelem - the element to align topos - the El.alignTo(com.google.gwt.user.client.Element, java.lang.String, int[]) anchor position to use in aligning to the
element (defaults to defaultAlign)public Component findItem(com.google.gwt.user.client.Element elem)
Container
findItem in class Container<Component>elem - the element
null if no match
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||