|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.visuals.RadioButtonIcon
public class RadioButtonIcon
RadioButtonIcon is an implementation of the IconInterface that paints a circular
radioButton image. If the component passed in to the paint is a BaseButton, it
will be painted based on its state.
RadioButton
,
Serialized FormConstructor Summary | |
---|---|
RadioButtonIcon()
|
Method Summary | |
---|---|
java.awt.Insets |
getInsets()
Get the insets of the RadioButtonIcon. |
java.awt.Dimension |
getPreferredSize()
Get the preferred size of the RadioButtonIcon. |
void |
paint(java.awt.Component comp,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
Paint the object using its current state. |
Constructor Detail |
---|
public RadioButtonIcon()
Method Detail |
---|
public java.awt.Dimension getPreferredSize()
getPreferredSize
in interface com.sas.visuals.IconInterface
IconInterface.getPreferredSize()
public java.awt.Insets getInsets()
getInsets
in interface com.sas.visuals.PainterInterface
PainterInterface.getInsets()
public void paint(java.awt.Component comp, java.awt.Graphics g, int x, int y, int width, int height)
paint
in interface com.sas.visuals.PainterInterface
comp
- the java.awt.Component to paint ong
- the graphics context to use for paintingx
- the x coordinatey
- the y coordinatewidth
- the widthheight
- the heightPainterInterface.paint(java.awt.Component, java.awt.Graphics, int, int, int, int)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |