public class UiWidgetAdapterTestCompositeRegular extends UiWidgetAdapterTestComposite<UiWidgetRegular> implements UiWidgetAdapterSlot, UiWidgetAdapterTab, UiWidgetAdapterHorizontalPanel, UiWidgetAdapterVerticalPanel, UiWidgetAdapterBorderPanel, UiWidgetAdapterCollapsableBorderPanel, UiWidgetAdapterGridCell, UiWidgetAdapterPopup, UiWidgetAdapterMainWindow
UiWidgetAdapterComposite and
various sub-interfaces bound to UiWidgetRegular for testing without a native toolkit.| Modifier and Type | Field and Description |
|---|---|
private boolean |
maximized |
private double |
positionX |
private double |
positionY |
PROPERTY_LABELACCESS_KEY_NONE, HTML_ATTRIBUTE_ACCESS_KEYATTRIBUTE_COLSPANPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEPROPERTY_TITLEPROPERTY_SUMMARY| Constructor and Description |
|---|
UiWidgetAdapterTestCompositeRegular()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getPositionX()
This method gets the pixel position of the left border object on the x-axis (horizontal).
|
double |
getPositionY()
This method gets the pixel position of the top border of this object on the y-axis (vertical).
|
boolean |
isClosable()
This method determines if this object (e.g.
|
boolean |
isMaximizable()
This method determines if this object can be
(un)maximized by the end-user. |
boolean |
isMaximized()
This method determines if this object is maximized.
|
boolean |
isMovable()
This method determines if this object can be moved.
|
void |
setClosable(boolean closable)
This method sets the
closable attribute. |
void |
setColumnSpan(int columnSpan)
This method sets the
columnSpan attribute. |
void |
setMaximizable(boolean maximizable)
This method set the
maximizable state of this object. |
void |
setMaximized(boolean maximized)
This method (un)
maximizes the object. |
void |
setMenuBar(UiWidgetMenuBar menuBar)
This method sets the
UiWidgetMenuBar. |
void |
setMovable(boolean movable)
This method sets the
movable attribute. |
void |
setPosition(double x,
double y)
This method sets the position of the object.
|
void |
setResizable(boolean resizable)
This method sets the
resizable attribute. |
void |
setTitle(String title)
This method sets the title of this object.
|
addChild, removeChild, setChild, showChildclearValidationFailureSetCount, createAbsoluteImageUrl, createToplevelWidget, dispose, getHeightInPixel, getLength, getSummary, getValidationFailure, getValidationFailureSetCount, getWidthInPixel, isCollapsed, isTitleVisible, removeFromParent, setAccessKey, setAltText, setAttribute, setCollapsed, setEnabled, setEventSender, setFocused, setId, setImage, setLabel, setLength, setMaximumTextLength, setSelectionMode, setStyles, setSummary, setTitleVisible, setTooltip, setUrl, setValidationFailure, setVisible, verifyNotDisposedaddStyle, createLabel, getAccessKey, getActiveWidget, getAltText, getAttribute, getBundle, getColumnSpan, getContext, getHeightInRows, getId, getImage, getLabel, getMaximumTextLength, getPrimaryStyle, getSelectionMode, getStyles, getTitle, getTooltip, getToplevelWidget, getUiWidget, getUiWidgetTyped, getUrl, hasStyle, isDisposed, isEnabled, isFocused, isResizable, isStyleDeltaSupported, removeStyle, setMode, setParent, setPrimaryStyle, setUiWidgetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetImagegetImagesetChildsetLabelgetLabelisFocusedsetFocusedsetAccessKeygetAccessKeysetCollapsedisCollapsedgetColumnSpanaddChild, removeChildgetStylesgetPrimaryStylegetTitleisResizablegetMaximumTextLengthgetAltTextgetUrlgetSelectionModeprivate double positionX
getPositionX()private double positionY
getPositionY()private boolean maximized
isMaximized()public UiWidgetAdapterTestCompositeRegular()
public void setColumnSpan(int columnSpan)
columnSpan attribute. 1 and not 0. To join with the next
column, you need to provide the value 2.setColumnSpan in interface AttributeWriteColumnSpancolumnSpan - is the new value of AttributeReadColumnSpan.getColumnSpan(). Should be at least 1. As
1 is the default, a typical value will be greater than 1.AttributeReadColumnSpan.getColumnSpan()public void setResizable(boolean resizable)
resizable attribute.setResizable in interface AttributeWriteResizableresizable - is the new value of AttributeReadResizable.isResizable().public boolean isMovable()
isMovable in interface AttributeReadMovabletrue if the object can be moved by the end-user (by dragging around),
false otherwise.public void setMovable(boolean movable)
movable attribute.setMovable in interface AttributeWriteMovablemovable - is the new value of AttributeReadMovable.isMovable().public boolean isClosable()
isClosable in interface AttributeReadClosabletrue if the object can be closed by the end-user, false otherwise.public void setClosable(boolean closable)
closable attribute.setClosable in interface AttributeWriteClosableclosable - is the new value of AttributeReadClosable.isClosable().public boolean isMaximizable()
(un)maximized by the end-user.isMaximizable in interface AttributeReadMaximizabletrue if the object is maximizable, false otherwise.public void setMaximizable(boolean maximizable)
maximizable state of this object.setMaximizable in interface AttributeWriteMaximizablemaximizable - - true if a (icon) button shall be available to (un)maximize the object
(window), false otherwise.AttributeReadMaximizable.isMaximizable()public boolean isMaximized()
isMaximized in interface AttributeReadMaximizedtrue if the object is maximized, false otherwise.public void setMaximized(boolean maximized)
maximizes the object. If it is un-maximized, its size and position
will be restored to the values before it was maximized.setMaximized in interface AttributeWriteMaximizedmaximized - - true to maximize, false to un-maximize.AttributeReadMaximized.isMaximized()public void setPosition(double x,
double y)
setPosition in interface AttributeWritePositionx - is the position on the x-axsis (horizontal).y - is the position on the y-axsis (vertical).public void setTitle(String title)
setTitle in interface AttributeWriteStringTitlesetTitle in interface AttributeWriteTitle<String>setTitle in class UiWidgetAdapterTesttitle - is the new title.AttributeReadStringTitle.getTitle()public double getPositionX()
getPositionX in interface AttributeReadPositionAttributeReadPosition.getPositionY()public double getPositionY()
getPositionY in interface AttributeReadPositionAttributeReadPosition.getPositionX()public void setMenuBar(UiWidgetMenuBar menuBar)
UiWidgetMenuBar. It will be called just once.setMenuBar in interface UiWidgetAdapterMainWindowmenuBar - is the UiWidgetMenuBar to attach at the top of the window.Copyright © 2001–2016 mmm-Team. All rights reserved.