| javax.swing.JToggleButton com.uwyn.rife.swing.JBorderlessToggleButton
JBorderlessToggleButton | public class JBorderlessToggleButton extends JToggleButton (Code) | | A toggle button that maintains its borderless look when
the look & feel changes.
author: Geert Bevin (gbevin[remove] at uwyn dot com) version: $Revision: 3634 $ since: 1.0 |
Method Summary | |
public void | updateUI() Notification from the UIFactory that the L&F
has changed. |
JBorderlessToggleButton | public JBorderlessToggleButton()(Code) | | Creates an initially unselected toggle button
without setting the text or image.
since: 1.0 |
JBorderlessToggleButton | public JBorderlessToggleButton(Icon icon)(Code) | | Creates an initially unselected toggle button
with the specified image but no text.
Parameters: icon - the image that the button should display since: 1.0 |
JBorderlessToggleButton | public JBorderlessToggleButton(Icon icon, boolean selected)(Code) | | Creates a toggle button with the specified image
and selection state, but no text.
Parameters: icon - the image that the button should display Parameters: selected - if true, the button is initially selected;otherwise, the button is initially unselected since: 1.0 |
JBorderlessToggleButton | public JBorderlessToggleButton(String text)(Code) | | Creates an unselected toggle button with the specified text.
Parameters: text - the string displayed on the toggle button since: 1.0 |
JBorderlessToggleButton | public JBorderlessToggleButton(String text, boolean selected)(Code) | | Creates a toggle button with the specified text
and selection state.
Parameters: text - the string displayed on the toggle button Parameters: selected - if true, the button is initially selected;otherwise, the button is initially unselected since: 1.0 |
JBorderlessToggleButton | public JBorderlessToggleButton(Action a)(Code) | | Creates a toggle button where properties are taken from the
Action supplied.
Parameters: a - since: 1.0 |
JBorderlessToggleButton | public JBorderlessToggleButton(String text, Icon icon)(Code) | | Creates a toggle button that has the specified text and image,
and that is initially unselected.
Parameters: text - the string displayed on the button Parameters: icon - the image that the button should display since: 1.0 |
JBorderlessToggleButton | public JBorderlessToggleButton(String text, Icon icon, boolean selected)(Code) | | Creates a toggle button with the specified text, image, and
selection state.
Parameters: text - the text of the toggle button Parameters: icon - the image that the button should display Parameters: selected - if true, the button is initially selected;otherwise, the button is initially unselected since: 1.0 |
updateUI | public void updateUI()(Code) | | Notification from the UIFactory that the L&F
has changed. Maintains the borderless look.
See Also: JToggleButton.updateUI since: 1.0 |
|
|