This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
javax.swing.plaf.basic
class BasicToggleButtonUI
- Direct Known Subclasses:
- BasicRadioButtonUI, MetalToggleButtonUI
public class BasicToggleButtonUI
extends BasicButtonUI
BasicToggleButton implementation
Method Summary |
static ComponentUI |
|
protected String |
|
protected int |
Overriden so that the text will not be rendered as shifted for
Toggle buttons and subclasses.
|
void |
|
protected void |
|
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI |
clearTextShiftOffset, createButtonListener, createUI, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installDefaults, installKeyboardActions, installListeners, installUI, paint, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicToggleButtonUI
public BasicToggleButtonUI()
-
createUI
public static ComponentUI createUI(JComponent b)
-
- Parameters:
b
getPropertyPrefix
protected String getPropertyPrefix()
-
- Overrides:
getPropertyPrefix
in class BasicButtonUI
getTextShiftOffset
protected int getTextShiftOffset()
-
Overriden so that the text will not be rendered as shifted for
Toggle buttons and subclasses.
- Overrides:
getTextShiftOffset
in class BasicButtonUI
paint
public void paint(Graphics g,
JComponent c)
-
- Overrides:
paint
in class BasicButtonUI
- Parameters:
g
c
paintIcon
protected void paintIcon(Graphics g,
AbstractButton b,
Rectangle iconRect)
-
- Parameters:
g
b
iconRect
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.