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, removeadd, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetVisibleforEach, spliteratorprotected 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.Widgetprotected void onUnload()
onUnload in class com.google.gwt.user.client.ui.Widgetpublic HandlerRegistry getHandlerRegistry()
public void add(com.google.gwt.user.client.ui.Widget child)
add in interface com.google.gwt.user.client.ui.HasWidgetsadd in class com.google.gwt.user.client.ui.Panelprotected 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.ComplexPanelprotected 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.ComplexPanelpublic 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.HasEnabledpublic void setEnabled(boolean enabled)
setEnabled in interface com.google.gwt.user.client.ui.HasEnabledpublic TextAlign getTextAlign()
HasTextAligngetTextAlign in interface HasTextAlignpublic void setTextAlign(TextAlign align)
HasTextAlignsetTextAlign in interface HasTextAlignpublic void setBackgroundColor(Color bgColor)
HasColorspanel.setBackgroundColor(BLUE);
setBackgroundColor in interface HasColorspublic Color getBackgroundColor()
getBackgroundColor in interface HasColorspublic void setTextColor(Color textColor)
HasColorspanel.setTextColor(BLUE_DARKEN_2);
setTextColor in interface HasColorspublic Color getTextColor()
getTextColor in interface HasColorspublic int getTabIndex()
getTabIndex in interface com.google.gwt.user.client.ui.Focusablepublic void setAccessKey(char key)
setAccessKey in interface com.google.gwt.user.client.ui.Focusablepublic void setFocus(boolean focused)
setFocus in interface com.google.gwt.user.client.ui.Focusablepublic void setTabIndex(int index)
setTabIndex in interface com.google.gwt.user.client.ui.Focusablepublic void setGrid(String grid)
HasGridpublic void setOffset(String offset)
HasGridpublic void setShadow(int shadow)
HasShadowpublic void setMargin(double margin)
setMargin in interface HasInlineStylepublic void setMarginTop(double margin)
setMarginTop in interface HasInlineStylepublic void setMarginLeft(double margin)
setMarginLeft in interface HasInlineStylepublic void setMarginRight(double margin)
setMarginRight in interface HasInlineStylepublic void setMarginBottom(double margin)
setMarginBottom in interface HasInlineStylepublic void setPadding(double padding)
setPadding in interface HasInlineStylepublic void setPaddingTop(double padding)
setPaddingTop in interface HasInlineStylepublic void setPaddingLeft(double padding)
setPaddingLeft in interface HasInlineStylepublic void setPaddingRight(double padding)
setPaddingRight in interface HasInlineStylepublic void setPaddingBottom(double padding)
setPaddingBottom in interface HasInlineStylepublic void setGwtDisplay(com.google.gwt.dom.client.Style.Display display)
setGwtDisplay in interface HasFlexboxpublic void setOpacity(double opacity)
setOpacity in interface HasOpacitypublic double getOpacity()
getOpacity in interface HasOpacitypublic void setSeparator(boolean separator)
HasSeparatorsetSeparator in interface HasSeparatorpublic boolean isSeparator()
HasSeparatorisSeparator in interface HasSeparatorpublic void setScrollspy(String scrollspy)
HasScrollspysetScrollspy in interface HasScrollspypublic String getScrollspy()
HasScrollspygetScrollspy in interface HasScrollspypublic void setCenterOn(CenterOn centerOn)
setCenterOn in interface HasCenterOnpublic CenterOn getCenterOn()
getCenterOn in interface HasCenterOnpublic void setFontSize(String fontSize)
setFontSize in interface HasFontSizepublic String getFontSize()
getFontSize in interface HasFontSizepublic void setFontSize(double fontSize, com.google.gwt.dom.client.Style.Unit unit)
setFontSize in interface HasFontSizepublic void setWaves(WavesType waves)
HasWavespublic WavesType getWaves()
HasWavespublic void setDataAttribute(String dataAttr, String value)
HasDataAttributesElement.
E.g. data-position="left".setDataAttribute in interface HasDataAttributespublic String getDataAttribute(String dataAttr)
HasDataAttributesElement.getDataAttribute in interface HasDataAttributespublic void setFloat(com.google.gwt.dom.client.Style.Float floatAlign)
HasFloatpublic com.google.gwt.dom.client.Style.Float getFloat()
HasFloatpublic String getTooltip()
getTooltip in interface HasTooltippublic void setTooltip(String tooltip)
HasTooltipsetTooltip in interface HasTooltippublic Position getTooltipPosition()
getTooltipPosition in interface HasTooltippublic void setTooltipPosition(Position position)
HasTooltipPosition where the tooltip text should appear, relative
to the component.setTooltipPosition in interface HasTooltippublic int getTooltipDelayMs()
getTooltipDelayMs in interface HasTooltippublic void setTooltipDelayMs(int delayMs)
HasTooltipsetTooltipDelayMs in interface HasTooltippublic void setTooltipHTML(String html)
setTooltipHTML in interface HasTooltippublic String getTooltipHTML()
getTooltipHTML in interface HasTooltippublic void setVisibility(com.google.gwt.dom.client.Style.Visibility visibility)
public void setDisplay(Display display)
setDisplay in interface HasFlexboxsetDisplay in interface HasInlineStylepublic void setFlexDirection(FlexDirection flexDirection)
setFlexDirection in interface HasFlexboxpublic void setFlex(Flex flex)
setFlex in interface HasFlexboxpublic void setFlexGrow(Integer flexGrow)
setFlexGrow in interface HasFlexboxpublic void setFlexShrink(Integer flexShrink)
setFlexShrink in interface HasFlexboxpublic void setFlexBasis(String flexBasis)
setFlexBasis in interface HasFlexboxpublic void setFlexOrder(Integer flexOrder)
setFlexOrder in interface HasFlexboxpublic void setFlexWrap(FlexWrap flexWrap)
setFlexWrap in interface HasFlexboxpublic void setFlexAlignContent(FlexAlignContent flexAlignContent)
setFlexAlignContent in interface HasFlexboxpublic void setFlexAlignSelf(FlexAlignSelf flexAlignSelf)
setFlexAlignSelf in interface HasFlexboxpublic void setFlexAlignItems(FlexAlignItems flexAlignItems)
setFlexAlignItems in interface HasFlexboxpublic void setFlexJustifyContent(FlexJustifyContent flexJustifyContent)
setFlexJustifyContent in interface HasFlexboxpublic void setVerticalAlign(com.google.gwt.dom.client.Style.VerticalAlign value)
HasVerticalAlignsetVerticalAlign in interface HasVerticalAlignpublic String getVerticalAlign()
getVerticalAlign in interface HasVerticalAlignpublic 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 HasHoverablepublic boolean isHoverable()
isHoverable in interface HasHoverablepublic void setFontWeight(com.google.gwt.dom.client.Style.FontWeight fontWeight)
HasFontWeightsetFontWeight in interface HasFontWeightpublic String getFontWeight()
HasFontWeightgetFontWeight in interface HasFontWeightpublic void setDepth(int depth)
HasDepthpublic int getDepth()
HasDepthpublic void setTruncate(boolean truncate)
public boolean isTruncate()
public void setBorder(String value)
HasBorderpublic void setBorderLeft(String value)
HasBordersetBorderLeft in interface HasBordervalue - contains the Css border style, width color of an element. (e.i 1px solid black)public String getBorderLeft()
getBorderLeft in interface HasBorderpublic void setBorderRight(String value)
HasBordersetBorderRight in interface HasBordervalue - contains the Css border style, width color of an element. (e.i 1px solid black)public String getBorderRight()
getBorderRight in interface HasBorderpublic void setBorderTop(String value)
HasBordersetBorderTop in interface HasBordervalue - contains the Css border style, width color of an element. (e.i 1px solid black)public String getBorderTop()
getBorderTop in interface HasBorderpublic void setBorderBottom(String value)
HasBordersetBorderBottom in interface HasBordervalue - contains the border style, width color of an element. (e.i 1px solid black)public String getBorderBottom()
getBorderBottom in interface HasBorderpublic void setBorderRadius(String value)
setBorderRadius in interface HasBorderpublic String getBorderRadius()
getBorderRadius in interface HasBorderpublic void setMinHeight(String value)
setMinHeight in interface HasDimensionpublic String getMinHeight()
getMinHeight in interface HasDimensionpublic void setMaxHeight(String value)
setMaxHeight in interface HasDimensionpublic String getMaxHeight()
getMaxHeight in interface HasDimensionpublic void setMinWidth(String value)
setMinWidth in interface HasDimensionpublic String getMinWidth()
getMinWidth in interface HasDimensionpublic void setMaxWidth(String value)
setMaxWidth in interface HasDimensionpublic String getMaxWidth()
getMaxWidth in interface HasDimensionpublic void setTransform(String value)
HasTransformsetTransform in interface HasTransformpublic String getTransform()
getTransform in interface HasTransformpublic void setTransformOrigin(String value)
HasTransformsetTransformOrigin in interface HasTransformpublic String getTransformOrigin()
getTransformOrigin in interface HasTransformpublic void setTransformStyle(String value)
HasTransformsetTransformStyle in interface HasTransformpublic String getTransformStyle()
getTransformStyle in interface HasTransformpublic void setPerspective(String value)
HasTransformsetPerspective in interface HasTransformpublic String getPerspective()
getPerspective in interface HasTransformpublic void setPerspectiveOrigin(String value)
HasTransformsetPerspectiveOrigin in interface HasTransformpublic String getPerspectiveOrigin()
getPerspectiveOrigin in interface HasTransformpublic void setBackfaceVisibility(String value)
HasTransformsetBackfaceVisibility in interface HasTransformpublic String getBackfaceVisibility()
getBackfaceVisibility in interface HasTransformpublic void setOrientation(Orientation orientation)
setOrientation in interface HasOrientationpublic Orientation getOrientation()
getOrientation in interface HasOrientationpublic void setDetectOrientation(boolean detectOrientation)
setDetectOrientation in interface HasOrientationpublic boolean isDetectOrientation()
isDetectOrientation in interface HasOrientationpublic 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)
HasInitialClassessetInitialClasses in interface HasInitialClassespublic String[] getInitialClasses()
HasInitialClassesgetInitialClasses in interface HasInitialClassespublic com.google.gwt.user.client.ui.WidgetCollection getChildren()
getChildren in class com.google.gwt.user.client.ui.ComplexPanelpublic 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.HasClickHandlerspublic com.google.gwt.event.shared.HandlerRegistration addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler handler)
addMouseDownHandler in interface com.google.gwt.event.dom.client.HasMouseDownHandlerspublic com.google.gwt.event.shared.HandlerRegistration addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler handler)
addMouseMoveHandler in interface com.google.gwt.event.dom.client.HasMouseMoveHandlerspublic com.google.gwt.event.shared.HandlerRegistration addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler handler)
addMouseOutHandler in interface com.google.gwt.event.dom.client.HasMouseOutHandlerspublic com.google.gwt.event.shared.HandlerRegistration addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler handler)
addMouseOverHandler in interface com.google.gwt.event.dom.client.HasMouseOverHandlerspublic com.google.gwt.event.shared.HandlerRegistration addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler handler)
addMouseUpHandler in interface com.google.gwt.event.dom.client.HasMouseUpHandlerspublic com.google.gwt.event.shared.HandlerRegistration addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler handler)
addMouseWheelHandler in interface com.google.gwt.event.dom.client.HasMouseWheelHandlerspublic com.google.gwt.event.shared.HandlerRegistration addDoubleClickHandler(com.google.gwt.event.dom.client.DoubleClickHandler handler)
addDoubleClickHandler in interface com.google.gwt.event.dom.client.HasDoubleClickHandlerspublic com.google.gwt.event.shared.HandlerRegistration addDragStartHandler(DragStartEvent.DragStartHandler handler)
HasDraggableHandlersaddDragStartHandler in interface HasDraggableHandlerspublic com.google.gwt.event.shared.HandlerRegistration addDragMoveHandler(DragMoveEvent.DragMoveHandler handler)
HasDraggableHandlersaddDragMoveHandler in interface HasDraggableHandlerspublic com.google.gwt.event.shared.HandlerRegistration addDragEndHandler(DragEndEvent.DragEndHandler handler)
HasDraggableHandlersaddDragEndHandler in interface HasDraggableHandlerspublic com.google.gwt.event.shared.HandlerRegistration addDropActivateHandler(DropActivateEvent.DropActivateHandler handler)
HasDroppableHandlersaddDropActivateHandler in interface HasDroppableHandlerspublic com.google.gwt.event.shared.HandlerRegistration addDragEnterHandler(DragEnterEvent.DragEnterHandler handler)
HasDroppableHandlersaddDragEnterHandler in interface HasDroppableHandlerspublic com.google.gwt.event.shared.HandlerRegistration addDragLeaveHandler(DragLeaveEvent.DragLeaveHandler handler)
HasDroppableHandlersaddDragLeaveHandler in interface HasDroppableHandlerspublic com.google.gwt.event.shared.HandlerRegistration addDragOverHandler(DragOverEvent.DragOverHandler handler)
HasDraggableHandlersaddDragOverHandler in interface HasDraggableHandlerspublic com.google.gwt.event.shared.HandlerRegistration addDropDeactivateHandler(DropDeactivateEvent.DropDeactivateHandler handler)
HasDroppableHandlersaddDropDeactivateHandler in interface HasDroppableHandlerspublic com.google.gwt.event.shared.HandlerRegistration addDropHandler(DropEvent.DropHandler handler)
HasDroppableHandlersaddDropHandler in interface HasDroppableHandlerspublic com.google.gwt.event.shared.HandlerRegistration addTouchCancelHandler(com.google.gwt.event.dom.client.TouchCancelHandler handler)
addTouchCancelHandler in interface com.google.gwt.event.dom.client.HasTouchCancelHandlerspublic com.google.gwt.event.shared.HandlerRegistration addTouchEndHandler(com.google.gwt.event.dom.client.TouchEndHandler handler)
addTouchEndHandler in interface com.google.gwt.event.dom.client.HasTouchEndHandlerspublic com.google.gwt.event.shared.HandlerRegistration addTouchMoveHandler(com.google.gwt.event.dom.client.TouchMoveHandler handler)
addTouchMoveHandler in interface com.google.gwt.event.dom.client.HasTouchMoveHandlerspublic com.google.gwt.event.shared.HandlerRegistration addTouchStartHandler(com.google.gwt.event.dom.client.TouchStartHandler handler)
addTouchStartHandler in interface com.google.gwt.event.dom.client.HasTouchStartHandlerspublic com.google.gwt.event.shared.HandlerRegistration addGestureChangeHandler(com.google.gwt.event.dom.client.GestureChangeHandler handler)
addGestureChangeHandler in interface com.google.gwt.event.dom.client.HasGestureChangeHandlerspublic com.google.gwt.event.shared.HandlerRegistration addGestureEndHandler(com.google.gwt.event.dom.client.GestureEndHandler handler)
addGestureEndHandler in interface com.google.gwt.event.dom.client.HasGestureEndHandlerspublic com.google.gwt.event.shared.HandlerRegistration addGestureStartHandler(com.google.gwt.event.dom.client.GestureStartHandler handler)
addGestureStartHandler in interface com.google.gwt.event.dom.client.HasGestureStartHandlerspublic com.google.gwt.event.shared.HandlerRegistration addKeyDownHandler(com.google.gwt.event.dom.client.KeyDownHandler handler)
addKeyDownHandler in interface com.google.gwt.event.dom.client.HasKeyDownHandlerspublic com.google.gwt.event.shared.HandlerRegistration addKeyPressHandler(com.google.gwt.event.dom.client.KeyPressHandler handler)
addKeyPressHandler in interface com.google.gwt.event.dom.client.HasKeyPressHandlerspublic com.google.gwt.event.shared.HandlerRegistration addKeyUpHandler(com.google.gwt.event.dom.client.KeyUpHandler handler)
addKeyUpHandler in interface com.google.gwt.event.dom.client.HasKeyUpHandlerspublic com.google.gwt.event.shared.HandlerRegistration addBlurHandler(com.google.gwt.event.dom.client.BlurHandler handler)
addBlurHandler in interface com.google.gwt.event.dom.client.HasBlurHandlerspublic com.google.gwt.event.shared.HandlerRegistration addFocusHandler(com.google.gwt.event.dom.client.FocusHandler handler)
addFocusHandler in interface com.google.gwt.event.dom.client.HasFocusHandlerspublic com.google.gwt.event.shared.HandlerRegistration addOrientationChangeHandler(OrientationChangeEvent.OrientationChangeHandler handler)
addOrientationChangeHandler in interface HasOrientationChangeHandlerprotected 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.