DELEGATE - is the generic type of the delegate.public abstract class UiWidgetCustomAbstractWindow<DELEGATE extends UiWidgetAbstractWindow> extends UiWidgetCustomDynamicComposite<Void,UiWidgetRegular,DELEGATE> implements UiWidgetAbstractWindow
custom
widget implementing UiWidgetAbstractWindow.AbstractUiWidget.AccessHelper, AbstractUiWidget.EventSender, AbstractUiWidget.HandlerContainerSTYLE_HEADERHTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_IDPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEWAI_ARIAPROPERTY_TITLE| Constructor and Description |
|---|
UiWidgetCustomAbstractWindow(UiContext context,
DELEGATE delegate)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
centerWindow()
This method sets the position of the window, so that it is in the center of the screen.
|
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).
|
String |
getTitle()
This method gets the title of this object.
|
boolean |
isResizable()
This method determines if this object is resizable.
|
void |
setPosition(double x,
double y)
This method sets the position of the object.
|
void |
setTitle(String title)
This method sets the title of this object.
|
addChild, addChild, removeChild, removeChilddoGetValue, doSetValue, getChild, getChild, getChildCount, getChildIndexaddStyle, clearMessages, clearValidity, dispose, doInitialize, doSetMode, doValidate, getAriaRole, getDelegate, getDelegate, getId, getMode, getModeFixed, getParent, getPrimaryStyle, getSize, getSource, getStyles, getTooltip, getValueClass, getVisibleFlag, getWidgetAdapter, hasStyle, hasWidgetAdapter, initialize, isDisposed, isEnabled, isModifiedRecursive, isVisible, isVisibleRecursive, removeFromParent, removeStyle, setEnabled, setFocused, setId, setMode, setMode, setModeFixed, setParent, setPrimaryStyle, setStyles, setTooltip, setVisible, setVisibleaddChangeHandler, addEventHandler, addValidator, clearMessagesLocal, clearValidationFailure, convertValueToString, fireEvent, fireValueChange, getBasicUtil, getContext, getDataBinding, getDataBinding, getDataBindingForWidget, getEventSender, getFactory, getLogger, getObserverSource, getOriginalValue, getRecentValue, getValueDirect, getValueOrException, getWidgetAdapter, hasEventSender, isMandatory, isModified, removeChangeHandler, removeEventHandler, removeFromParent, removeValidator, setMandatory, setModified, setParent, setValue, toStringaddValidatorMandatory, createValidationFailure, getValue, getValueAndValidate, handleGetValueError, resetValue, setValue, setValueForUser, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddChild, addChildremoveChild, removeChildgetChild, getChildgetChildCount, getChildIndexgetContext, getParent, getSizeclearMessagesaddEventHandler, removeEventHandlersetModegetModesetModeFixedgetModeFixedsetIdgetIdsetTooltipgetTooltipgetVisibleFlag, isVisible, setVisible, setVisibleisVisibleRecursivesetEnabledisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedisModifiedgetAriaRolevalidategetValuegetValueAndValidate, getValueDirectaddChangeHandler, removeChangeHandlerresetValue, setValue, setValue, setValueForUsergetOriginalValue, getValueOrExceptionaddValidatorMandatory, isMandatoryaddValidator, removeValidatorpublic void setTitle(String title)
setTitle in interface AttributeWriteStringTitlesetTitle in interface AttributeWriteTitle<String>title - is the new title.AttributeReadStringTitle.getTitle()public String getTitle()
getTitle in interface AttributeReadStringTitlegetTitle in interface AttributeReadTitle<String>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 double getPositionX()
getPositionX in interface AttributeReadPositionAttributeReadPosition.getPositionY()public double getPositionY()
getPositionY in interface AttributeReadPositionAttributeReadPosition.getPositionX()public boolean isResizable()
isResizable in interface AttributeReadResizabletrue if the object can be
resized (by the end-user), false otherwise.public void centerWindow()
set the size before invoking this method.centerWindow in interface UiWidgetAbstractWindowCopyright © 2001–2016 mmm-Team. All rights reserved.