public class ButtonOptions extends Options
| Modifier and Type | Field and Description |
|---|---|
AlignHorizontal |
align
Alignment for the buttons.
|
Integer |
buttonSpacing
The pixel spacing between buttons.
|
String |
className
The CSS class name of the context button.
|
Boolean |
enabled
Whether to enable buttons.
|
Integer |
height
Pixel height of the buttons.
|
String |
menuClassName
The class name of the menu appearing from the button.
|
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 #666666.
|
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() |
@Option public AlignHorizontal align
@Option public Integer buttonSpacing
@Option public String className
@Option public String menuClassName
@Option public final List<ActionOptions> menuItems
@Option(convertTo=org.fujion.ancillary.JavaScript.class) public String onclick
@Option public String symbol
@Option public Integer symbolSize
@Option public String symbolStroke
@Option public Integer symbolStrokeWidth
@Option public Double symbolX
@Option public Double symbolY
@Option public AlignVertical verticalAlign
@Option public Integer x
Copyright © 2018 Fujion Framework. All rights reserved.