Package org.teamapps.dto
Class UiToolButton
- java.lang.Object
-
- org.teamapps.dto.UiComponent
-
- org.teamapps.dto.UiToolButton
-
- All Implemented Interfaces:
UiObject
public class UiToolButton extends UiComponent implements UiObject
THIS IS GENERATED CODE! PLEASE DO NOT MODIFY - ALL YOUR WORK WOULD BE LOST!
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUiToolButton.ClickedEventstatic classUiToolButton.DropDownOpenedEventstatic classUiToolButton.SetDropDownComponentCommandstatic classUiToolButton.SetDropDownSizeCommandstatic classUiToolButton.SetGrayOutIfNotHoveredCommandstatic classUiToolButton.SetIconCommandstatic classUiToolButton.SetOpenDropDownIfNotSetCommandstatic classUiToolButton.SetPopoverTextCommand-
Nested classes/interfaces inherited from class org.teamapps.dto.UiComponent
UiComponent.SetStyleCommand, UiComponent.SetVisibleCommand
-
-
Field Summary
Fields Modifier and Type Field Description protected UiComponentReferencedropDownComponentprotected booleangrayOutIfNotHoveredprotected java.lang.Stringiconprotected intminDropDownHeightprotected intminDropDownWidthprotected booleanopenDropDownIfNotSetprotected java.lang.StringpopoverText-
Fields inherited from class org.teamapps.dto.UiComponent
id, stylesBySelector, visible
-
-
Constructor Summary
Constructors Constructor Description UiToolButton()Deprecated.Only for Jackson deserialization.UiToolButton(java.lang.String icon, java.lang.String popoverText)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UiComponentReferencegetDropDownComponent()booleangetGrayOutIfNotHovered()java.lang.StringgetIcon()intgetMinDropDownHeight()intgetMinDropDownWidth()booleangetOpenDropDownIfNotSet()java.lang.StringgetPopoverText()UiObjectTypegetUiObjectType()UiToolButtonsetDropDownComponent(UiComponentReference dropDownComponent)UiToolButtonsetGrayOutIfNotHovered(boolean grayOutIfNotHovered)UiToolButtonsetId(java.lang.String id)UiToolButtonsetMinDropDownHeight(int minDropDownHeight)UiToolButtonsetMinDropDownWidth(int minDropDownWidth)UiToolButtonsetOpenDropDownIfNotSet(boolean openDropDownIfNotSet)UiToolButtonsetStylesBySelector(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> stylesBySelector)UiToolButtonsetVisible(boolean visible)java.lang.StringtoString()-
Methods inherited from class org.teamapps.dto.UiComponent
getId, getStylesBySelector, getVisible
-
-
-
-
Field Detail
-
icon
protected java.lang.String icon
-
popoverText
protected java.lang.String popoverText
-
grayOutIfNotHovered
protected boolean grayOutIfNotHovered
-
minDropDownWidth
protected int minDropDownWidth
-
minDropDownHeight
protected int minDropDownHeight
-
openDropDownIfNotSet
protected boolean openDropDownIfNotSet
-
dropDownComponent
protected UiComponentReference dropDownComponent
-
-
Method Detail
-
getUiObjectType
public UiObjectType getUiObjectType()
- Specified by:
getUiObjectTypein interfaceUiObject- Overrides:
getUiObjectTypein classUiComponent
-
toString
public java.lang.String toString()
- Overrides:
toStringin classUiComponent
-
getIcon
public java.lang.String getIcon()
-
getPopoverText
public java.lang.String getPopoverText()
-
getGrayOutIfNotHovered
public boolean getGrayOutIfNotHovered()
-
getMinDropDownWidth
public int getMinDropDownWidth()
-
getMinDropDownHeight
public int getMinDropDownHeight()
-
getOpenDropDownIfNotSet
public boolean getOpenDropDownIfNotSet()
-
getDropDownComponent
public UiComponentReference getDropDownComponent()
-
setId
public UiToolButton setId(java.lang.String id)
- Overrides:
setIdin classUiComponent
-
setVisible
public UiToolButton setVisible(boolean visible)
- Overrides:
setVisiblein classUiComponent
-
setStylesBySelector
public UiToolButton setStylesBySelector(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> stylesBySelector)
- Overrides:
setStylesBySelectorin classUiComponent
-
setGrayOutIfNotHovered
public UiToolButton setGrayOutIfNotHovered(boolean grayOutIfNotHovered)
-
setMinDropDownWidth
public UiToolButton setMinDropDownWidth(int minDropDownWidth)
-
setMinDropDownHeight
public UiToolButton setMinDropDownHeight(int minDropDownHeight)
-
setOpenDropDownIfNotSet
public UiToolButton setOpenDropDownIfNotSet(boolean openDropDownIfNotSet)
-
setDropDownComponent
public UiToolButton setDropDownComponent(UiComponentReference dropDownComponent)
-
-