public class MaterialWidget extends com.google.gwt.user.client.ui.ComplexPanel implements HasId, com.google.gwt.user.client.ui.HasEnabled, HasTextAlign, HasDimension, HasColors, HasGrid, HasShadow, com.google.gwt.user.client.ui.Focusable, HasInlineStyle, HasSeparator, HasScrollspy, HasHideOn, HasShowOn, HasCenterOn, HasCircle, HasWaves, HasDataAttributes, HasFloat, HasTooltip, HasFlexbox, HasHoverable, HasFontWeight, HasFontSize, HasDepth, HasInitialClasses, HasInteractionHandlers, com.google.gwt.event.dom.client.HasAllFocusHandlers, HasBorder, HasVerticalAlign, HasTransform, HasOrientation
Modifier and Type | Class and Description |
---|---|
static class |
MaterialWidget.Feature
Configurable features enum see
enableFeature(Feature, boolean) . |
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
Modifier and Type | Field and Description |
---|---|
protected gwt.material.design.jquery.client.api.JQueryElement |
$this |
Constructor and Description |
---|
MaterialWidget() |
MaterialWidget(com.google.gwt.dom.client.Element element) |
MaterialWidget(com.google.gwt.dom.client.Element element,
String... initialClass) |
MaterialWidget(gwt.material.design.jquery.client.api.JQueryElement jQueryElement) |
Modifier and Type | Method and Description |
---|---|
gwt.material.design.jquery.client.api.JQueryElement |
$this() |
void |
add(com.google.gwt.user.client.ui.Widget child) |
protected void |
add(com.google.gwt.user.client.ui.Widget child,
com.google.gwt.user.client.Element container) |
com.google.gwt.event.shared.HandlerRegistration |
addAttachHandler(com.google.gwt.event.logical.shared.AttachEvent.Handler handler,
boolean oneTime)
Add an
AttachHandler for attachment events. |
com.google.gwt.event.shared.HandlerRegistration |
addBlurHandler(com.google.gwt.event.dom.client.BlurHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addClickHandler(com.google.gwt.event.dom.client.ClickHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addDoubleClickHandler(com.google.gwt.event.dom.client.DoubleClickHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addDragEndHandler(DragEndEvent.DragEndHandler handler)
Add a drag end handler to target element
|
com.google.gwt.event.shared.HandlerRegistration |
addDragEnterHandler(DragEnterEvent.DragEnterHandler handler)
Add Drag Enter handler
|
com.google.gwt.event.shared.HandlerRegistration |
addDragLeaveHandler(DragLeaveEvent.DragLeaveHandler handler)
Add Drag Leave handler
|
com.google.gwt.event.shared.HandlerRegistration |
addDragMoveHandler(DragMoveEvent.DragMoveHandler handler)
Add a drag move handler to target element
|
com.google.gwt.event.shared.HandlerRegistration |
addDragOverHandler(DragOverEvent.DragOverHandler handler)
Add a drag over handler to the target element
|
com.google.gwt.event.shared.HandlerRegistration |
addDragStartHandler(DragStartEvent.DragStartHandler handler)
Add a drag start handler to target element
|
com.google.gwt.event.shared.HandlerRegistration |
addDropActivateHandler(DropActivateEvent.DropActivateHandler handler)
Add Drop Activate handler
|
com.google.gwt.event.shared.HandlerRegistration |
addDropDeactivateHandler(DropDeactivateEvent.DropDeactivateHandler handler)
Add Drop Deactivate handler
|
com.google.gwt.event.shared.HandlerRegistration |
addDropHandler(DropEvent.DropHandler handler)
Add Drop handler
|
com.google.gwt.event.shared.HandlerRegistration |
addFocusHandler(com.google.gwt.event.dom.client.FocusHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addGestureChangeHandler(com.google.gwt.event.dom.client.GestureChangeHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addGestureEndHandler(com.google.gwt.event.dom.client.GestureEndHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addGestureStartHandler(com.google.gwt.event.dom.client.GestureStartHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addKeyDownHandler(com.google.gwt.event.dom.client.KeyDownHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addKeyPressHandler(com.google.gwt.event.dom.client.KeyPressHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addKeyUpHandler(com.google.gwt.event.dom.client.KeyUpHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addOrientationChangeHandler(OrientationChangeEvent.OrientationChangeHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addTouchCancelHandler(com.google.gwt.event.dom.client.TouchCancelHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addTouchEndHandler(com.google.gwt.event.dom.client.TouchEndHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addTouchMoveHandler(com.google.gwt.event.dom.client.TouchMoveHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addTouchStartHandler(com.google.gwt.event.dom.client.TouchStartHandler handler) |
static gwt.material.design.jquery.client.api.JQueryElement |
body() |
protected void |
clearActiveClass(com.google.gwt.user.client.ui.HasWidgets widget) |
void |
enableFeature(MaterialWidget.Feature feature,
boolean enabled)
Enable or disable a complex
MaterialWidget.Feature . |
String |
getBackfaceVisibility() |
Color |
getBackgroundColor() |
String |
getBorder() |
String |
getBorderBottom() |
String |
getBorderLeft() |
BorderMixin<MaterialWidget> |
getBorderMixin() |
String |
getBorderRadius() |
String |
getBorderRight() |
String |
getBorderTop() |
CenterOn |
getCenterOn() |
protected CssNameMixin<MaterialWidget,CenterOn> |
getCenterOnMixin() |
com.google.gwt.user.client.ui.WidgetCollection |
getChildren() |
List<com.google.gwt.user.client.ui.Widget> |
getChildrenList() |
protected ToggleStyleMixin<MaterialWidget> |
getCircleMixin() |
protected ColorsMixin<MaterialWidget> |
getColorsMixin() |
String |
getDataAttribute(String dataAttr)
Get a data attribute of the
Element . |
int |
getDepth()
Get the z-index value 0 - 999.
|
DimensionMixin<MaterialWidget> |
getDimensionMixin() |
protected EnabledMixin<MaterialWidget> |
getEnabledMixin() |
protected FlexboxMixin<MaterialWidget> |
getFlexboxMixin() |
com.google.gwt.dom.client.Style.Float |
getFloat()
Get the float.
|
protected CssNameMixin<MaterialWidget,com.google.gwt.dom.client.Style.Float> |
getFloatMixin() |
protected FocusableMixin<MaterialWidget> |
getFocusableMixin() |
String |
getFontSize() |
protected FontSizeMixin<MaterialWidget> |
getFontSizeMixin() |
String |
getFontWeight()
Get the font weight
|
protected CssNameMixin<MaterialWidget,com.google.gwt.dom.client.Style.FontWeight> |
getFontWeightMixin() |
protected GridMixin<MaterialWidget> |
getGridMixin() |
HandlerRegistry |
getHandlerRegistry() |
HideOn |
getHideOn() |
protected CssNameMixin<MaterialWidget,HideOn> |
getHideOnMixin() |
protected ToggleStyleMixin<MaterialWidget> |
getHoverableMixin() |
String |
getId() |
protected IdMixin<MaterialWidget> |
getIdMixin() |
String[] |
getInitialClasses()
Get the initial class of Material Components.
|
String |
getLayoutPosition() |
String |
getMaxHeight() |
String |
getMaxWidth() |
String |
getMinHeight() |
String |
getMinWidth() |
double |
getOpacity() |
Orientation |
getOrientation() |
OrientationMixin<MaterialWidget> |
getOrientationMixin() |
String |
getPerspective() |
String |
getPerspectiveOrigin() |
String |
getScrollspy()
Get the scrollspy id, null if not scrollspy'd.
|
protected ScrollspyMixin<MaterialWidget> |
getScrollspyMixin() |
protected SeparatorMixin<MaterialWidget> |
getSeparatorMixin() |
int |
getShadow()
Get the shadow depth.
|
protected ShadowMixin<MaterialWidget> |
getShadowMixin() |
ShowOn |
getShowOn() |
protected CssNameMixin<MaterialWidget,ShowOn> |
getShowOnMixin() |
int |
getTabIndex() |
TextAlign |
getTextAlign()
Get the text alignment.
|
protected CssNameMixin<MaterialWidget,TextAlign> |
getTextAlignMixin() |
Color |
getTextColor() |
String |
getTooltip() |
int |
getTooltipDelayMs() |
String |
getTooltipHTML() |
protected TooltipMixin<MaterialWidget> |
getTooltipMixin() |
Position |
getTooltipPosition() |
String |
getTransform() |
TransformMixin<MaterialWidget> |
getTransformMixin() |
String |
getTransformOrigin() |
String |
getTransformStyle() |
ToggleStyleMixin<MaterialWidget> |
getTruncateMixin() |
String |
getVerticalAlign() |
VerticalAlignMixin<MaterialWidget> |
getVerticalAlignMixin() |
WavesType |
getWaves()
Get the waves type.
|
protected WavesMixin<MaterialWidget> |
getWavesMixin() |
int |
getWidth() |
protected void |
insert(com.google.gwt.user.client.ui.Widget child,
com.google.gwt.user.client.Element container,
int beforeIndex,
boolean domInsert) |
void |
insert(com.google.gwt.user.client.ui.Widget child,
int beforeIndex)
Inserts a widget at a specific index
|
boolean |
isCircle() |
boolean |
isDetectOrientation() |
boolean |
isEnabled() |
boolean |
isFeatureEnabled(MaterialWidget.Feature feature)
Check if a
MaterialWidget.Feature is enabled. |
boolean |
isHoverable() |
boolean |
isSeparator()
Is separated using border.
|
boolean |
isTruncate() |
protected void |
onLoad() |
protected void |
onUnload() |
com.google.gwt.event.shared.HandlerRegistration |
registerHandler(com.google.gwt.event.shared.HandlerRegistration handler) |
void |
removeHandler(com.google.gwt.event.shared.HandlerRegistration handler) |
void |
setAccessKey(char key) |
void |
setBackfaceVisibility(String value)
Defines whether or not an element should be visible when not facing the screen
|
void |
setBackgroundColor(Color bgColor)
Sets the background color of material components, for example:
|
void |
setBorder(String value)
Set the border style of material widget
|
void |
setBorderBottom(String value)
Sets the border bottom style of material widget
|
void |
setBorderLeft(String value)
Sets the border style of material widget
|
void |
setBorderRadius(String value) |
void |
setBorderRight(String value)
Sets the border right style of material widget
|
void |
setBorderTop(String value)
Sets the border left style of material widget
|
void |
setBottom(double value) |
void |
setCenterOn(CenterOn centerOn) |
void |
setCircle(boolean circle) |
void |
setClass(String cssClasses)
Set the 'class' attribute of this element.
|
void |
setDataAttribute(String dataAttr,
String value)
Set data attribute of an
Element . |
void |
setDepth(int depth)
Equivalent to z-index to build a layer between material components 0 - 999.
|
void |
setDetectOrientation(boolean detectOrientation) |
void |
setDisplay(Display display) |
void |
setEnabled(boolean enabled) |
void |
setFlex(Flex flex) |
void |
setFlexAlignContent(FlexAlignContent flexAlignContent) |
void |
setFlexAlignItems(FlexAlignItems flexAlignItems) |
void |
setFlexAlignSelf(FlexAlignSelf flexAlignSelf) |
void |
setFlexBasis(String flexBasis) |
void |
setFlexDirection(FlexDirection flexDirection) |
void |
setFlexGrow(Integer flexGrow) |
void |
setFlexJustifyContent(FlexJustifyContent flexJustifyContent) |
void |
setFlexOrder(Integer flexOrder) |
void |
setFlexShrink(Integer flexShrink) |
void |
setFlexWrap(FlexWrap flexWrap) |
void |
setFloat(com.google.gwt.dom.client.Style.Float floatAlign)
Sets the float.
|
void |
setFocus(boolean focused) |
void |
setFontSize(double fontSize,
com.google.gwt.dom.client.Style.Unit unit) |
void |
setFontSize(String fontSize) |
void |
setFontWeight(com.google.gwt.dom.client.Style.FontWeight fontWeight)
Sets the font weight.
|
void |
setGrid(String grid)
Setting the grid for responsiveness don't forget to build
rows first before setting the grid on each material widgets.
|
void |
setGwtDisplay(com.google.gwt.dom.client.Style.Display display) |
void |
setHideOn(HideOn hideOn) |
void |
setHoverable(boolean hoverable) |
void |
setId(String id) |
void |
setInitialClasses(String... initialClasses)
Set the initial class into Material Components.
|
void |
setLayoutPosition(com.google.gwt.dom.client.Style.Position position) |
void |
setLeft(double value) |
void |
setLineHeight(double value) |
void |
setMargin(double margin) |
void |
setMarginBottom(double margin) |
void |
setMarginLeft(double margin) |
void |
setMarginRight(double margin) |
void |
setMarginTop(double margin) |
void |
setMaxHeight(String value) |
void |
setMaxWidth(String value) |
void |
setMinHeight(String value) |
void |
setMinWidth(String value) |
void |
setOffset(String offset)
Setting the offset.
|
void |
setOpacity(double opacity) |
void |
setOrientation(Orientation orientation) |
void |
setOverflow(com.google.gwt.dom.client.Style.Overflow overflow) |
void |
setPadding(double padding) |
void |
setPaddingBottom(double padding) |
void |
setPaddingLeft(double padding) |
void |
setPaddingRight(double padding) |
void |
setPaddingTop(double padding) |
void |
setPerspective(String value)
Specifies the perspective on how 3D elements are viewed
|
void |
setPerspectiveOrigin(String value)
Specifies the bottom position of 3D elements
|
void |
setRight(double value) |
void |
setScrollspy(String scrollspy)
Set the name of the scrollspy.
|
void |
setSeparator(boolean separator)
Border line separator of any material components.
|
void |
setShadow(int shadow)
Sets the shadow depth of a material panel.
|
void |
setShowOn(ShowOn showOn) |
void |
setStyle(String style)
Set the style attribute of your element.
|
void |
setTabIndex(int index) |
void |
setTextAlign(TextAlign align)
Set the text alignment.
|
void |
setTextColor(Color textColor)
Set the text color of material components, for example:
|
void |
setTooltip(String tooltip)
Sets the tooltip text to be shown for the component.
|
void |
setTooltipDelayMs(int delayMs)
Sets the time in ms to show the tooltip text for the component
|
void |
setTooltipHTML(String html) |
void |
setTooltipPosition(Position position)
Sets the
Position where the tooltip text should appear, relative
to the component. |
void |
setTop(double value) |
void |
setTransform(String value)
Applies a 2D or 3D transformation to an element
|
void |
setTransformOrigin(String value)
Allows you to change the position on transformed elements
|
void |
setTransformStyle(String value)
Specifies how nested elements are rendered in 3D space
|
void |
setTransition(TransitionConfig property)
Applies a CSS3 Transition property to this widget.
|
void |
setTruncate(boolean truncate)
If true the label inside this component will be truncated by ellipsis
|
void |
setVerticalAlign(com.google.gwt.dom.client.Style.VerticalAlign value)
Set the Vertical alignment of the widget
|
void |
setVisibility(com.google.gwt.dom.client.Style.Visibility visibility) |
void |
setWaves(WavesType waves)
Sets the ripple effect of any material elements
|
void |
stopTouchStartEvent() |
boolean |
validate() |
static gwt.material.design.jquery.client.api.JQueryElement |
window() |
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, iterator, remove, remove
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setVisible
forEach, spliterator
protected gwt.material.design.jquery.client.api.JQueryElement $this
public MaterialWidget()
public MaterialWidget(gwt.material.design.jquery.client.api.JQueryElement jQueryElement)
public MaterialWidget(com.google.gwt.dom.client.Element element)
public MaterialWidget(com.google.gwt.dom.client.Element element, String... initialClass)
public static gwt.material.design.jquery.client.api.JQueryElement window()
public static gwt.material.design.jquery.client.api.JQueryElement body()
public gwt.material.design.jquery.client.api.JQueryElement $this()
protected void onLoad()
onLoad
in class com.google.gwt.user.client.ui.Widget
protected void onUnload()
onUnload
in class com.google.gwt.user.client.ui.Widget
public HandlerRegistry getHandlerRegistry()
public void add(com.google.gwt.user.client.ui.Widget child)
add
in interface com.google.gwt.user.client.ui.HasWidgets
add
in class com.google.gwt.user.client.ui.Panel
protected void add(com.google.gwt.user.client.ui.Widget child, com.google.gwt.user.client.Element container)
add
in class com.google.gwt.user.client.ui.ComplexPanel
protected void insert(com.google.gwt.user.client.ui.Widget child, com.google.gwt.user.client.Element container, int beforeIndex, boolean domInsert)
insert
in class com.google.gwt.user.client.ui.ComplexPanel
public void insert(com.google.gwt.user.client.ui.Widget child, int beforeIndex)
child
- - widget to be insertedbeforeIndex
- - index for the widgetpublic void setStyle(String style)
Element.getStyle()
changes and vice-versa.public void setClass(String cssClasses)
UIObject.addStyleName(String)
and vice-versa.public boolean isEnabled()
isEnabled
in interface com.google.gwt.user.client.ui.HasEnabled
public void setEnabled(boolean enabled)
setEnabled
in interface com.google.gwt.user.client.ui.HasEnabled
public TextAlign getTextAlign()
HasTextAlign
getTextAlign
in interface HasTextAlign
public void setTextAlign(TextAlign align)
HasTextAlign
setTextAlign
in interface HasTextAlign
public void setBackgroundColor(Color bgColor)
HasColors
panel.setBackgroundColor(BLUE);
setBackgroundColor
in interface HasColors
public Color getBackgroundColor()
getBackgroundColor
in interface HasColors
public void setTextColor(Color textColor)
HasColors
panel.setTextColor(BLUE_DARKEN_2);
setTextColor
in interface HasColors
public Color getTextColor()
getTextColor
in interface HasColors
public int getTabIndex()
getTabIndex
in interface com.google.gwt.user.client.ui.Focusable
public void setAccessKey(char key)
setAccessKey
in interface com.google.gwt.user.client.ui.Focusable
public void setFocus(boolean focused)
setFocus
in interface com.google.gwt.user.client.ui.Focusable
public void setTabIndex(int index)
setTabIndex
in interface com.google.gwt.user.client.ui.Focusable
public void setGrid(String grid)
HasGrid
public void setOffset(String offset)
HasGrid
public void setShadow(int shadow)
HasShadow
public void setMargin(double margin)
setMargin
in interface HasInlineStyle
public void setMarginTop(double margin)
setMarginTop
in interface HasInlineStyle
public void setMarginLeft(double margin)
setMarginLeft
in interface HasInlineStyle
public void setMarginRight(double margin)
setMarginRight
in interface HasInlineStyle
public void setMarginBottom(double margin)
setMarginBottom
in interface HasInlineStyle
public void setPadding(double padding)
setPadding
in interface HasInlineStyle
public void setPaddingTop(double padding)
setPaddingTop
in interface HasInlineStyle
public void setPaddingLeft(double padding)
setPaddingLeft
in interface HasInlineStyle
public void setPaddingRight(double padding)
setPaddingRight
in interface HasInlineStyle
public void setPaddingBottom(double padding)
setPaddingBottom
in interface HasInlineStyle
public void setGwtDisplay(com.google.gwt.dom.client.Style.Display display)
setGwtDisplay
in interface HasFlexbox
public void setOpacity(double opacity)
setOpacity
in interface HasOpacity
public double getOpacity()
getOpacity
in interface HasOpacity
public void setSeparator(boolean separator)
HasSeparator
setSeparator
in interface HasSeparator
public boolean isSeparator()
HasSeparator
isSeparator
in interface HasSeparator
public void setScrollspy(String scrollspy)
HasScrollspy
setScrollspy
in interface HasScrollspy
public String getScrollspy()
HasScrollspy
getScrollspy
in interface HasScrollspy
public void setCenterOn(CenterOn centerOn)
setCenterOn
in interface HasCenterOn
public CenterOn getCenterOn()
getCenterOn
in interface HasCenterOn
public void setFontSize(String fontSize)
setFontSize
in interface HasFontSize
public String getFontSize()
getFontSize
in interface HasFontSize
public void setFontSize(double fontSize, com.google.gwt.dom.client.Style.Unit unit)
setFontSize
in interface HasFontSize
public void setWaves(WavesType waves)
HasWaves
public WavesType getWaves()
HasWaves
public void setDataAttribute(String dataAttr, String value)
HasDataAttributes
Element
.
E.g. data-position="left".setDataAttribute
in interface HasDataAttributes
public String getDataAttribute(String dataAttr)
HasDataAttributes
Element
.getDataAttribute
in interface HasDataAttributes
public void setFloat(com.google.gwt.dom.client.Style.Float floatAlign)
HasFloat
public com.google.gwt.dom.client.Style.Float getFloat()
HasFloat
public String getTooltip()
getTooltip
in interface HasTooltip
public void setTooltip(String tooltip)
HasTooltip
setTooltip
in interface HasTooltip
public Position getTooltipPosition()
getTooltipPosition
in interface HasTooltip
public void setTooltipPosition(Position position)
HasTooltip
Position
where the tooltip text should appear, relative
to the component.setTooltipPosition
in interface HasTooltip
public int getTooltipDelayMs()
getTooltipDelayMs
in interface HasTooltip
public void setTooltipDelayMs(int delayMs)
HasTooltip
setTooltipDelayMs
in interface HasTooltip
public void setTooltipHTML(String html)
setTooltipHTML
in interface HasTooltip
public String getTooltipHTML()
getTooltipHTML
in interface HasTooltip
public void setVisibility(com.google.gwt.dom.client.Style.Visibility visibility)
public void setDisplay(Display display)
setDisplay
in interface HasFlexbox
setDisplay
in interface HasInlineStyle
public void setFlexDirection(FlexDirection flexDirection)
setFlexDirection
in interface HasFlexbox
public void setFlex(Flex flex)
setFlex
in interface HasFlexbox
public void setFlexGrow(Integer flexGrow)
setFlexGrow
in interface HasFlexbox
public void setFlexShrink(Integer flexShrink)
setFlexShrink
in interface HasFlexbox
public void setFlexBasis(String flexBasis)
setFlexBasis
in interface HasFlexbox
public void setFlexOrder(Integer flexOrder)
setFlexOrder
in interface HasFlexbox
public void setFlexWrap(FlexWrap flexWrap)
setFlexWrap
in interface HasFlexbox
public void setFlexAlignContent(FlexAlignContent flexAlignContent)
setFlexAlignContent
in interface HasFlexbox
public void setFlexAlignSelf(FlexAlignSelf flexAlignSelf)
setFlexAlignSelf
in interface HasFlexbox
public void setFlexAlignItems(FlexAlignItems flexAlignItems)
setFlexAlignItems
in interface HasFlexbox
public void setFlexJustifyContent(FlexJustifyContent flexJustifyContent)
setFlexJustifyContent
in interface HasFlexbox
public void setVerticalAlign(com.google.gwt.dom.client.Style.VerticalAlign value)
HasVerticalAlign
setVerticalAlign
in interface HasVerticalAlign
public String getVerticalAlign()
getVerticalAlign
in interface HasVerticalAlign
public void setOverflow(com.google.gwt.dom.client.Style.Overflow overflow)
public void setLayoutPosition(com.google.gwt.dom.client.Style.Position position)
public String getLayoutPosition()
public void setLeft(double value)
public void setRight(double value)
public void setTop(double value)
public void setBottom(double value)
public void setLineHeight(double value)
public void setHoverable(boolean hoverable)
setHoverable
in interface HasHoverable
public boolean isHoverable()
isHoverable
in interface HasHoverable
public void setFontWeight(com.google.gwt.dom.client.Style.FontWeight fontWeight)
HasFontWeight
setFontWeight
in interface HasFontWeight
public String getFontWeight()
HasFontWeight
getFontWeight
in interface HasFontWeight
public void setDepth(int depth)
HasDepth
public int getDepth()
HasDepth
public void setTruncate(boolean truncate)
public boolean isTruncate()
public void setBorder(String value)
HasBorder
public void setBorderLeft(String value)
HasBorder
setBorderLeft
in interface HasBorder
value
- contains the Css border style, width color of an element. (e.i 1px solid black)public String getBorderLeft()
getBorderLeft
in interface HasBorder
public void setBorderRight(String value)
HasBorder
setBorderRight
in interface HasBorder
value
- contains the Css border style, width color of an element. (e.i 1px solid black)public String getBorderRight()
getBorderRight
in interface HasBorder
public void setBorderTop(String value)
HasBorder
setBorderTop
in interface HasBorder
value
- contains the Css border style, width color of an element. (e.i 1px solid black)public String getBorderTop()
getBorderTop
in interface HasBorder
public void setBorderBottom(String value)
HasBorder
setBorderBottom
in interface HasBorder
value
- contains the border style, width color of an element. (e.i 1px solid black)public String getBorderBottom()
getBorderBottom
in interface HasBorder
public void setBorderRadius(String value)
setBorderRadius
in interface HasBorder
public String getBorderRadius()
getBorderRadius
in interface HasBorder
public void setMinHeight(String value)
setMinHeight
in interface HasDimension
public String getMinHeight()
getMinHeight
in interface HasDimension
public void setMaxHeight(String value)
setMaxHeight
in interface HasDimension
public String getMaxHeight()
getMaxHeight
in interface HasDimension
public void setMinWidth(String value)
setMinWidth
in interface HasDimension
public String getMinWidth()
getMinWidth
in interface HasDimension
public void setMaxWidth(String value)
setMaxWidth
in interface HasDimension
public String getMaxWidth()
getMaxWidth
in interface HasDimension
public void setTransform(String value)
HasTransform
setTransform
in interface HasTransform
public String getTransform()
getTransform
in interface HasTransform
public void setTransformOrigin(String value)
HasTransform
setTransformOrigin
in interface HasTransform
public String getTransformOrigin()
getTransformOrigin
in interface HasTransform
public void setTransformStyle(String value)
HasTransform
setTransformStyle
in interface HasTransform
public String getTransformStyle()
getTransformStyle
in interface HasTransform
public void setPerspective(String value)
HasTransform
setPerspective
in interface HasTransform
public String getPerspective()
getPerspective
in interface HasTransform
public void setPerspectiveOrigin(String value)
HasTransform
setPerspectiveOrigin
in interface HasTransform
public String getPerspectiveOrigin()
getPerspectiveOrigin
in interface HasTransform
public void setBackfaceVisibility(String value)
HasTransform
setBackfaceVisibility
in interface HasTransform
public String getBackfaceVisibility()
getBackfaceVisibility
in interface HasTransform
public void setOrientation(Orientation orientation)
setOrientation
in interface HasOrientation
public Orientation getOrientation()
getOrientation
in interface HasOrientation
public void setDetectOrientation(boolean detectOrientation)
setDetectOrientation
in interface HasOrientation
public boolean isDetectOrientation()
isDetectOrientation
in interface HasOrientation
public com.google.gwt.event.shared.HandlerRegistration registerHandler(com.google.gwt.event.shared.HandlerRegistration handler)
public void removeHandler(com.google.gwt.event.shared.HandlerRegistration handler)
public void stopTouchStartEvent()
public int getWidth()
protected void clearActiveClass(com.google.gwt.user.client.ui.HasWidgets widget)
public void setTransition(TransitionConfig property)
public com.google.gwt.event.shared.HandlerRegistration addAttachHandler(com.google.gwt.event.logical.shared.AttachEvent.Handler handler, boolean oneTime)
AttachHandler
for attachment events.handler
- Attach event handler.oneTime
- Only execute this handler once, then detach handler.public void setInitialClasses(String... initialClasses)
HasInitialClasses
setInitialClasses
in interface HasInitialClasses
public String[] getInitialClasses()
HasInitialClasses
getInitialClasses
in interface HasInitialClasses
public com.google.gwt.user.client.ui.WidgetCollection getChildren()
getChildren
in class com.google.gwt.user.client.ui.ComplexPanel
public List<com.google.gwt.user.client.ui.Widget> getChildrenList()
public void enableFeature(MaterialWidget.Feature feature, boolean enabled)
MaterialWidget.Feature
.feature
- the feature to enable.enabled
- true to enable false to disable.public boolean isFeatureEnabled(MaterialWidget.Feature feature)
MaterialWidget.Feature
is enabled.public boolean validate()
public com.google.gwt.event.shared.HandlerRegistration addClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
addClickHandler
in interface com.google.gwt.event.dom.client.HasClickHandlers
public com.google.gwt.event.shared.HandlerRegistration addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler handler)
addMouseDownHandler
in interface com.google.gwt.event.dom.client.HasMouseDownHandlers
public com.google.gwt.event.shared.HandlerRegistration addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler handler)
addMouseMoveHandler
in interface com.google.gwt.event.dom.client.HasMouseMoveHandlers
public com.google.gwt.event.shared.HandlerRegistration addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler handler)
addMouseOutHandler
in interface com.google.gwt.event.dom.client.HasMouseOutHandlers
public com.google.gwt.event.shared.HandlerRegistration addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler handler)
addMouseOverHandler
in interface com.google.gwt.event.dom.client.HasMouseOverHandlers
public com.google.gwt.event.shared.HandlerRegistration addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler handler)
addMouseUpHandler
in interface com.google.gwt.event.dom.client.HasMouseUpHandlers
public com.google.gwt.event.shared.HandlerRegistration addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler handler)
addMouseWheelHandler
in interface com.google.gwt.event.dom.client.HasMouseWheelHandlers
public com.google.gwt.event.shared.HandlerRegistration addDoubleClickHandler(com.google.gwt.event.dom.client.DoubleClickHandler handler)
addDoubleClickHandler
in interface com.google.gwt.event.dom.client.HasDoubleClickHandlers
public com.google.gwt.event.shared.HandlerRegistration addDragStartHandler(DragStartEvent.DragStartHandler handler)
HasDraggableHandlers
addDragStartHandler
in interface HasDraggableHandlers
public com.google.gwt.event.shared.HandlerRegistration addDragMoveHandler(DragMoveEvent.DragMoveHandler handler)
HasDraggableHandlers
addDragMoveHandler
in interface HasDraggableHandlers
public com.google.gwt.event.shared.HandlerRegistration addDragEndHandler(DragEndEvent.DragEndHandler handler)
HasDraggableHandlers
addDragEndHandler
in interface HasDraggableHandlers
public com.google.gwt.event.shared.HandlerRegistration addDropActivateHandler(DropActivateEvent.DropActivateHandler handler)
HasDroppableHandlers
addDropActivateHandler
in interface HasDroppableHandlers
public com.google.gwt.event.shared.HandlerRegistration addDragEnterHandler(DragEnterEvent.DragEnterHandler handler)
HasDroppableHandlers
addDragEnterHandler
in interface HasDroppableHandlers
public com.google.gwt.event.shared.HandlerRegistration addDragLeaveHandler(DragLeaveEvent.DragLeaveHandler handler)
HasDroppableHandlers
addDragLeaveHandler
in interface HasDroppableHandlers
public com.google.gwt.event.shared.HandlerRegistration addDragOverHandler(DragOverEvent.DragOverHandler handler)
HasDraggableHandlers
addDragOverHandler
in interface HasDraggableHandlers
public com.google.gwt.event.shared.HandlerRegistration addDropDeactivateHandler(DropDeactivateEvent.DropDeactivateHandler handler)
HasDroppableHandlers
addDropDeactivateHandler
in interface HasDroppableHandlers
public com.google.gwt.event.shared.HandlerRegistration addDropHandler(DropEvent.DropHandler handler)
HasDroppableHandlers
addDropHandler
in interface HasDroppableHandlers
public com.google.gwt.event.shared.HandlerRegistration addTouchCancelHandler(com.google.gwt.event.dom.client.TouchCancelHandler handler)
addTouchCancelHandler
in interface com.google.gwt.event.dom.client.HasTouchCancelHandlers
public com.google.gwt.event.shared.HandlerRegistration addTouchEndHandler(com.google.gwt.event.dom.client.TouchEndHandler handler)
addTouchEndHandler
in interface com.google.gwt.event.dom.client.HasTouchEndHandlers
public com.google.gwt.event.shared.HandlerRegistration addTouchMoveHandler(com.google.gwt.event.dom.client.TouchMoveHandler handler)
addTouchMoveHandler
in interface com.google.gwt.event.dom.client.HasTouchMoveHandlers
public com.google.gwt.event.shared.HandlerRegistration addTouchStartHandler(com.google.gwt.event.dom.client.TouchStartHandler handler)
addTouchStartHandler
in interface com.google.gwt.event.dom.client.HasTouchStartHandlers
public com.google.gwt.event.shared.HandlerRegistration addGestureChangeHandler(com.google.gwt.event.dom.client.GestureChangeHandler handler)
addGestureChangeHandler
in interface com.google.gwt.event.dom.client.HasGestureChangeHandlers
public com.google.gwt.event.shared.HandlerRegistration addGestureEndHandler(com.google.gwt.event.dom.client.GestureEndHandler handler)
addGestureEndHandler
in interface com.google.gwt.event.dom.client.HasGestureEndHandlers
public com.google.gwt.event.shared.HandlerRegistration addGestureStartHandler(com.google.gwt.event.dom.client.GestureStartHandler handler)
addGestureStartHandler
in interface com.google.gwt.event.dom.client.HasGestureStartHandlers
public com.google.gwt.event.shared.HandlerRegistration addKeyDownHandler(com.google.gwt.event.dom.client.KeyDownHandler handler)
addKeyDownHandler
in interface com.google.gwt.event.dom.client.HasKeyDownHandlers
public com.google.gwt.event.shared.HandlerRegistration addKeyPressHandler(com.google.gwt.event.dom.client.KeyPressHandler handler)
addKeyPressHandler
in interface com.google.gwt.event.dom.client.HasKeyPressHandlers
public com.google.gwt.event.shared.HandlerRegistration addKeyUpHandler(com.google.gwt.event.dom.client.KeyUpHandler handler)
addKeyUpHandler
in interface com.google.gwt.event.dom.client.HasKeyUpHandlers
public com.google.gwt.event.shared.HandlerRegistration addBlurHandler(com.google.gwt.event.dom.client.BlurHandler handler)
addBlurHandler
in interface com.google.gwt.event.dom.client.HasBlurHandlers
public com.google.gwt.event.shared.HandlerRegistration addFocusHandler(com.google.gwt.event.dom.client.FocusHandler handler)
addFocusHandler
in interface com.google.gwt.event.dom.client.HasFocusHandlers
public com.google.gwt.event.shared.HandlerRegistration addOrientationChangeHandler(OrientationChangeEvent.OrientationChangeHandler handler)
addOrientationChangeHandler
in interface HasOrientationChangeHandler
protected IdMixin<MaterialWidget> getIdMixin()
protected EnabledMixin<MaterialWidget> getEnabledMixin()
protected CssNameMixin<MaterialWidget,TextAlign> getTextAlignMixin()
protected ColorsMixin<MaterialWidget> getColorsMixin()
protected FocusableMixin<MaterialWidget> getFocusableMixin()
protected GridMixin<MaterialWidget> getGridMixin()
protected ShadowMixin<MaterialWidget> getShadowMixin()
protected SeparatorMixin<MaterialWidget> getSeparatorMixin()
protected ScrollspyMixin<MaterialWidget> getScrollspyMixin()
protected CssNameMixin<MaterialWidget,HideOn> getHideOnMixin()
protected CssNameMixin<MaterialWidget,ShowOn> getShowOnMixin()
protected CssNameMixin<MaterialWidget,CenterOn> getCenterOnMixin()
protected FontSizeMixin<MaterialWidget> getFontSizeMixin()
protected ToggleStyleMixin<MaterialWidget> getCircleMixin()
protected ToggleStyleMixin<MaterialWidget> getHoverableMixin()
protected WavesMixin<MaterialWidget> getWavesMixin()
protected CssNameMixin<MaterialWidget,com.google.gwt.dom.client.Style.Float> getFloatMixin()
protected TooltipMixin<MaterialWidget> getTooltipMixin()
protected FlexboxMixin<MaterialWidget> getFlexboxMixin()
protected CssNameMixin<MaterialWidget,com.google.gwt.dom.client.Style.FontWeight> getFontWeightMixin()
public ToggleStyleMixin<MaterialWidget> getTruncateMixin()
public BorderMixin<MaterialWidget> getBorderMixin()
public DimensionMixin<MaterialWidget> getDimensionMixin()
public VerticalAlignMixin<MaterialWidget> getVerticalAlignMixin()
public TransformMixin<MaterialWidget> getTransformMixin()
public OrientationMixin<MaterialWidget> getOrientationMixin()
Copyright © 2018. All rights reserved.