Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addButtonClickedActionListener(ButtonClickedActionListener) - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Add a
ButtonClickedActionListener
to the button. - addSplitButtonClickedActionListener(SplitButtonClickedActionListener) - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Add a
SplitButtonClickedActionListener
to the button.
B
- ButtonClickedActionListener - Interface in com.github.rhwood.jsplitbutton.action
-
The listener interface for receiving the button clicked
ActionEvent
.
C
- com.github.rhwood.jsplitbutton - package com.github.rhwood.jsplitbutton
-
Swing implementation of a split button and JavaBean information for using it in an IDE.
- com.github.rhwood.jsplitbutton.action - package com.github.rhwood.jsplitbutton.action
-
EventListener
s forJSplitButton
.
G
- getArrowColor() - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Gets the color of the arrow.
- getArrowSize() - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Gets the size of the arrow.
- getBeanDescriptor() - Method in class com.github.rhwood.jsplitbutton.JSplitButtonBeanInfo
-
Gets the bean's
BeanDescriptor
s. - getDefaultEventIndex() - Method in class com.github.rhwood.jsplitbutton.JSplitButtonBeanInfo
-
A bean may have a "default" event that is the event that will mostly commonly be used by humans when using the bean.
- getDefaultPropertyIndex() - Method in class com.github.rhwood.jsplitbutton.JSplitButtonBeanInfo
-
A bean may have a "default" property that is the property that will mostly commonly be initially chosen for update by humans who are customizing the bean.
- getDisabledArrowColor() - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Gets the disabled arrow color.
- getDisabledImage() - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Gets the disabled image to be drawn in the split part.
- getEventSetDescriptors() - Method in class com.github.rhwood.jsplitbutton.JSplitButtonBeanInfo
-
Gets the bean's
EventSetDescriptor
s. - getIcon(int) - Method in class com.github.rhwood.jsplitbutton.JSplitButtonBeanInfo
-
This method returns an image object that can be used to represent the bean in toolboxes, toolbars, etc.
- getImage() - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Gets the image to be drawn in the split part.
- getMethodDescriptors() - Method in class com.github.rhwood.jsplitbutton.JSplitButtonBeanInfo
-
Gets the bean's
MethodDescriptor
s. - getPopupMenu() - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Returns the JPopupMenu if set, null otherwise.
- getPreferredSize() - Method in class com.github.rhwood.jsplitbutton.JSplitButton
- getPropertyDescriptors() - Method in class com.github.rhwood.jsplitbutton.JSplitButtonBeanInfo
-
Gets the bean's
PropertyDescriptor
s. - getSeparatorSpacing() - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Returns the separatorSpacing.
- getSplitWidth() - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Splitwidth is the width of the split part of the button.
H
- horizontalDemonstration() - Method in class com.github.rhwood.jsplitbutton.SplitButtonDemo
-
Demonstrate a horizontal layout.
I
- isAlwaysPopup() - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Show the popup menu, if attached, even if the button part is clicked.
J
- JSplitButton - module JSplitButton
-
Simple implementation of a split button in Java Swing.
- JSplitButton - Class in com.github.rhwood.jsplitbutton
-
An implementation of a "split" button.
- JSplitButton() - Constructor for class com.github.rhwood.jsplitbutton.JSplitButton
-
Creates a button with no set text or icon.
- JSplitButton(String) - Constructor for class com.github.rhwood.jsplitbutton.JSplitButton
-
Creates a button with text.
- JSplitButton(String, Icon) - Constructor for class com.github.rhwood.jsplitbutton.JSplitButton
-
Creates a button with initial text and an icon.
- JSplitButton(Icon) - Constructor for class com.github.rhwood.jsplitbutton.JSplitButton
-
Creates a button with an icon.
- JSplitButtonBeanInfo - Class in com.github.rhwood.jsplitbutton
-
Provide information about about JSplitButton that can be used by IDEs to provide a editing UI for JSplitButton properties.
- JSplitButtonBeanInfo() - Constructor for class com.github.rhwood.jsplitbutton.JSplitButtonBeanInfo
-
Constructs a
JSplitButtonBeanInfo
.
M
- main(String[]) - Static method in class com.github.rhwood.jsplitbutton.SplitButtonDemo
-
Run a small demonstration program.
P
- paintComponent(Graphics) - Method in class com.github.rhwood.jsplitbutton.JSplitButton
R
- removeButtonClickedActionListener(ButtonClickedActionListener) - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Remove a
ButtonClickedActionListener
from the button. - removeSplitButtonClickedActionListener(SplitButtonClickedActionListener) - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Remove a
SplitButtonClickedActionListener
from the button.
S
- setAlwaysPopup(boolean) - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Show the popup menu, if attached, even if the button part is clicked.
- setArrowColor(Color) - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Set the arrow color.
- setArrowSize(int) - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Sets the size of the arrow.
- setDisabledArrowColor(Color) - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Sets the disabled arrow color.
- setDisabledImage(Image) - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Sets the disabled image to draw instead of the triangle.
- setImage(Image) - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Sets the image to draw instead of the triangle.
- setPopupMenu(JPopupMenu) - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Sets the JPopupMenu to be displayed, when the split part of the button is clicked.
- setSeparatorSpacing(int) - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Sets the separatorSpacing.
- setSplitWidth(int) - Method in class com.github.rhwood.jsplitbutton.JSplitButton
-
Splitwidth is the width of the split part of the button.
- SplitButtonClickedActionListener - Interface in com.github.rhwood.jsplitbutton.action
-
The listener interface for receiving the split clicked
ActionEvent
. - SplitButtonDemo - Class in com.github.rhwood.jsplitbutton
-
Simple demonstration of JSplitButton.
- SplitButtonDemo() - Constructor for class com.github.rhwood.jsplitbutton.SplitButtonDemo
-
Create the demonstration.
V
- verticalDemonstration() - Method in class com.github.rhwood.jsplitbutton.SplitButtonDemo
-
Demonstrate a vertical layout.
All Classes and Interfaces|All Packages|Serialized Form