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.HandlerContainer
STYLE_HEADER
HTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_ID
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE
WAI_ARIA
PROPERTY_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, removeChild
doGetValue, doSetValue, getChild, getChild, getChildCount, getChildIndex
addStyle, 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, setVisible
addChangeHandler, 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, toString
addValidatorMandatory, createValidationFailure, getValue, getValueAndValidate, handleGetValueError, resetValue, setValue, setValueForUser, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addChild, addChild
removeChild, removeChild
getChild, getChild
getChildCount, getChildIndex
getContext, getParent, getSize
clearMessages
addEventHandler, removeEventHandler
setMode
getMode
setModeFixed
getModeFixed
setId
getId
setTooltip
getTooltip
getVisibleFlag, isVisible, setVisible, setVisible
isVisibleRecursive
setEnabled
isEnabled
addStyle, removeStyle
hasStyle
setStyles
getStyles
setPrimaryStyle
getPrimaryStyle
dispose
isDisposed
isModified
getAriaRole
validate
getValue
getValueAndValidate, getValueDirect
addChangeHandler, removeChangeHandler
resetValue, setValue, setValue, setValueForUser
getOriginalValue, getValueOrException
addValidatorMandatory, isMandatory
addValidator, removeValidator
public void setTitle(String title)
setTitle
in interface AttributeWriteStringTitle
setTitle
in interface AttributeWriteTitle<String>
title
- is the new title.AttributeReadStringTitle.getTitle()
public String getTitle()
getTitle
in interface AttributeReadStringTitle
getTitle
in interface AttributeReadTitle<String>
public void setPosition(double x, double y)
setPosition
in interface AttributeWritePosition
x
- is the position on the x-axsis
(horizontal).y
- is the position on the y-axsis
(vertical).public double getPositionX()
getPositionX
in interface AttributeReadPosition
AttributeReadPosition.getPositionY()
public double getPositionY()
getPositionY
in interface AttributeReadPosition
AttributeReadPosition.getPositionX()
public boolean isResizable()
isResizable
in interface AttributeReadResizable
true
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 UiWidgetAbstractWindow
Copyright © 2001–2016 mmm-Team. All rights reserved.