public class UiWidgetAdapterGwtCollapsableBorderPanel extends UiWidgetAdapterGwtBorderPanel implements UiWidgetAdapterCollapsableBorderPanel, CollapseExpandButton.CollapseHandler
UiWidgetAdapterCollapsableBorderPanel using GWT based on
Fieldset and CollapseExpandButton.| Modifier and Type | Field and Description |
|---|---|
private CollapseExpandButton |
collapseExpandButton
The
CollapseExpandButton for user interaction. |
TAB_INDEX_NONEHTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_IDPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEWAI_ARIAPROPERTY_LABELACCESS_KEY_NONE, HTML_ATTRIBUTE_ACCESS_KEYATTRIBUTE_COLSPAN| Constructor and Description |
|---|
UiWidgetAdapterGwtCollapsableBorderPanel()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCollapsed()
This method determines if this object is collapsed.
|
void |
onCollapse(boolean collapse,
boolean programmatic)
This method is called to notify about collapsing and expanding.
|
void |
setAccessKey(char accessKey)
This method sets the
accessKey attribute of this object. |
void |
setCollapsed(boolean collapsed)
This method sets the
collapsed status of this object. |
void |
setEnabled(boolean enabled)
This method sets the
enabled status of this object. |
boolean |
setFocused()
This method sets the
focus to this object. |
createToplevelWidget, setChild, setLabeldispose, getActiveWidget, removeFromParentaddHandlerRegistration, addStyle, createAbsoluteImageUrl, createEventAdapter, getHeightInPixel, getImage, getImageParentElement, getLength, getSizeElement, getToplevelWidget, getToplevelWidget, getWidthInPixel, isStyleDeltaSupported, removeStyle, setAttribute, setId, setImage, setLength, setPrimaryStyle, setStyles, setTooltip, setVisibleapplyEventAdapter, applyEventAdapterForChange, applyEventAdapterForClick, applyEventAdapterForFocus, applyEventAdapterForSelection, getEventAdapter, setEventSendercreateLabel, getAccessKey, getAltText, getAttribute, getBundle, getColumnSpan, getContext, getHeightInRows, getId, getLabel, getMaximumTextLength, getPrimaryStyle, getSelectionMode, getStyles, getTitle, getTooltip, getToplevelWidget, getUiWidget, getUiWidgetTyped, getUrl, getValidationFailure, hasStyle, isDisposed, isEnabled, isFocused, isResizable, setMode, setParent, setUiWidgetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetChildcreateAbsoluteImageUrl, createLabel, getToplevelWidget, isStyleDeltaSupported, removeFromParent, setEventSender, setMode, setParent, setVisiblesetIdgetIdsetTooltipgetTooltipisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedsetLengthgetLengthgetHeightInPixel, getWidthInPixelgetAttributesetAttributesetLabelgetLabelisFocusedgetAccessKeyprivate final CollapseExpandButton collapseExpandButton
CollapseExpandButton for user interaction.public UiWidgetAdapterGwtCollapsableBorderPanel()
public void setEnabled(boolean enabled)
enabled status of this object. If it is disabled, the user can
not interact with the object.setEnabled in interface AttributeWriteEnabledsetEnabled in class UiWidgetAdapterGwtBorderPanelenabled - - if true the object will be enabled, else the object will be disabled.public boolean setFocused()
focus to this object. setFocused in interface AttributeWriteOnlyFocusedtrue if the focus has been set successfully, false otherwise.public boolean isCollapsed()
isCollapsed in interface AttributeReadCollapsedtrue if this object is collapsed, false if expanded.public void setCollapsed(boolean collapsed)
collapsed status of this object.setCollapsed in interface AttributeWriteCollapsedcollapsed - - if true the object will be collapsed, else it will be expanded.public void setAccessKey(char accessKey)
accessKey attribute of this object.setAccessKey in interface AttributeWriteAccessKeyaccessKey - is the new value of AttributeReadAccessKey.getAccessKey(). Use AttributeReadAccessKey.ACCESS_KEY_NONE to unset.public void onCollapse(boolean collapse,
boolean programmatic)
onCollapse in interface CollapseExpandButton.CollapseHandlercollapse - - true if switched to collapsed state, false if switched to
expanded state.programmatic - - see UiEvent.isProgrammatic().Copyright © 2001–2016 mmm-Team. All rights reserved.