public class ButtonOptions extends Options
| Modifier and Type | Field and Description |
|---|---|
AlignHorizontal |
align
Alignment for the buttons.
|
String |
backgroundColor
Background color for the buttons.
|
String |
borderColor
The border color of the buttons.
|
Integer |
borderRadius
The border corner radius of the buttons.
|
Integer |
borderWidth
The border width of the buttons.
|
Boolean |
enabled
Whether to enable buttons.
|
Integer |
height
Pixel height of the buttons.
|
String |
hoverBorderColor
Color of the button border on hover.
|
String |
hoverSymbolFill
Defaults to #768F3E.
|
String |
hoverSymbolStroke
Stroke (line) color for the symbol within the button on hover.
|
List<ActionOptions> |
menuItems
A collection of config options for the menu items.
|
String |
onclick
A click handler callback to use on the button directly instead of the default.
|
String |
symbol
The symbol for the button.
|
String |
symbolFill
Defaults to #A8BF77.
|
Integer |
symbolSize
The pixel size of the symbol on the button.
|
String |
symbolStroke
The color of the symbol's stroke or line.
|
Integer |
symbolStrokeWidth
The pixel stroke width of the symbol on the button.
|
Double |
symbolX
The x position of the center of the symbol inside the button.
|
Double |
symbolY
The y position of the center of the symbol inside the button.
|
String |
text
A text string to add to the individual button.
|
AlignVertical |
verticalAlign
The vertical alignment of the buttons.
|
Integer |
width
The pixel width of the button.
|
Integer |
x
The horizontal position of the button relative to the align option.
|
Integer |
y
The vertical offset of the button's position relative to its verticalAlign.
|
| Constructor and Description |
|---|
ButtonOptions() |
public AlignHorizontal align
public String backgroundColor
public String borderColor
public Integer borderRadius
public Integer borderWidth
public Boolean enabled
public Integer height
public String hoverBorderColor
public String hoverSymbolFill
public String hoverSymbolStroke
public final List<ActionOptions> menuItems
@JavaScript public String onclick
public String symbol
public String symbolFill
public Integer symbolSize
public String symbolStroke
public Integer symbolStrokeWidth
public Double symbolX
public Double symbolY
public String text
public AlignVertical verticalAlign
public Integer width
public Integer x
public Integer y
Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.