Serialized Form
-
Package com.github.rhwood.jsplitbutton
-
Class com.github.rhwood.jsplitbutton.JSplitButton
class JSplitButton extends JButton implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
alwaysPopup
boolean alwaysPopup
True if menu should always be displayed when button clicked; false if menu should only be displayed when split clicked. -
arrowColor
Color arrowColor
Color of menu arrow. -
arrowSize
int arrowSize
Size of menu arrow. -
disabledArrowColor
Color disabledArrowColor
Color or menu arrow when disabled. -
onSplit
boolean onSplit
True if mouse is hovering over split; false otherwise. -
popupMenu
JPopupMenu popupMenu
Menu with split button. -
separatorSpacing
int separatorSpacing
Vertical spacing around visual separator. -
splitRectangle
Rectangle splitRectangle
Component in split button. -
splitWidth
int splitWidth
Width of split button containing menu arrow.
-
-
Class com.github.rhwood.jsplitbutton.SplitButtonDemo
class SplitButtonDemo extends JFrame implements Serializable-
Serialized Fields
-
horizontalCount
int horizontalCount
Counter for number of times horizontal button is clicked. -
verticalCount
int verticalCount
Counter for number of times vertical button is clicked.
-
-
-