|
|||||||||
| 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<Button>
com.extjs.gxt.ui.client.widget.button.ButtonBar
public class ButtonBar
A horizontal row of buttons.
doit field to false to cancel the action.doit field to false to cancel the action.
| 入れ子クラス 概要 |
|---|
| クラス com.google.gwt.user.client.ui.UIObject から継承された 入れ子クラス/インターフェース |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field 概要 |
|---|
| クラス com.google.gwt.user.client.ui.UIObject から継承されたフィールド(Fields) |
|---|
DEBUG_ID_PREFIX |
| コンストラクタ 概要 | |
|---|---|
ButtonBar()
Creates a left aligned button bar. |
|
| メソッド 概要 | |
|---|---|
boolean |
add(Button button)
Adds a button to the bar. |
Style.HorizontalAlignment |
getButtonAlign()
Returns the bar's horizontal alignment. |
Button |
getButtonById(java.lang.String buttonId)
Returns the button with the specified button id. |
Button |
getButtonPressed()
Returns the last button that was selected. |
int |
getButtonWidth()
|
boolean |
insert(Button button,
int index)
Inserts a button at the specified location. |
boolean |
remove(Button button)
Removes a button from the bar. |
void |
setButtonAlign(Style.HorizontalAlignment buttonAlign)
Sets the bar's horizontal alignment. |
void |
setButtonWidth(int buttonWidth)
|
| クラス com.extjs.gxt.ui.client.widget.Container から継承されたメソッド |
|---|
findItem, getItem, getItemByItemId, getItemCount, getItems, getWidget, indexOf, iterator, removeAll, scrollIntoView |
| クラス com.extjs.gxt.ui.client.widget.BoxComponent から継承されたメソッド |
|---|
getBounds, getHeight, getHeight, getPosition, getShadow, getSize, getWidth, getWidth, isAutoHeight, isAutoWidth, isDeferHeight, isShim, setAutoHeight, setAutoWidth, setBounds, setBounds, setDeferHeight, setHeight, setHeight, setPagePosition, setPagePosition, setPixelSize, setPosition, setShadow, setShim, setSize, setSize, setWidth, setWidth |
| クラス com.extjs.gxt.ui.client.widget.Component から継承されたメソッド |
|---|
addListener, addStyleName, addWidgetListener, disable, disableEvents, disableTextSelection, el, enable, enableEvents, fireEvent, fireEvent, fireEvent, fly, focus, getBaseStyle, getBorders, getData, getData, getElement, getId, getItemId, getModel, getState, getToolTip, hide, hideToolTip, isEnabled, isRendered, isVisible, onBrowserEvent, onComponentEvent, recalculate, removeAllListeners, removeFromParent, removeListener, removeStyleName, removeWidgetListener, render, render, saveState, setBorders, setData, setData, setElement, setEnabled, setEnableState, setId, setIntStyleAttribute, setItemId, setStyleAttribute, setStyleName, setTitle, setToolTip, setToolTip, setVisible, show, toString |
| クラス com.google.gwt.user.client.ui.Widget から継承されたメソッド |
|---|
getParent, isAttached |
| クラス com.google.gwt.user.client.ui.UIObject から継承されたメソッド |
|---|
addStyleDependentName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, setStylePrimaryName, setVisible, sinkEvents, unsinkEvents |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタ 詳細 |
|---|
public ButtonBar()
| メソッド 詳細 |
|---|
public boolean add(Button button)
button - the button to be added
public Style.HorizontalAlignment getButtonAlign()
public Button getButtonById(java.lang.String buttonId)
buttonId - the button id
null if no matchpublic Button getButtonPressed()
public int getButtonWidth()
public boolean insert(Button button,
int index)
button - the button to be insertedindex - the insert location
public boolean remove(Button button)
button - the button to be removed
true if the item was removedpublic void setButtonAlign(Style.HorizontalAlignment buttonAlign)
buttonAlign - the alignmentpublic void setButtonWidth(int buttonWidth)
buttonWidth - the buttonWidth to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||