|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.util.swing.calendar.plaf.BasicCalendarPanelUI.SelectionBorder
public static class BasicCalendarPanelUI.SelectionBorder
SelectionBorder is the default border for selected day cells
in an IlvJCalendarPanel. It is used to wrapper the button border
of the current look and feel and forces the encapsulated button border to
always render as for the default button in the user interface.
| Constructor Summary | |
|---|---|
BasicCalendarPanelUI.SelectionBorder(Border buttonBorder)
Creates a new SelectionBorder that encapsulates the
specified button border. |
|
| Method Summary | |
|---|---|
Insets |
getBorderInsets(Component c)
Returns the insets of the border. |
boolean |
isBorderOpaque()
Returns whether or not the border is opaque. |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
Paints the border for the specified component with the specified position and size. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicCalendarPanelUI.SelectionBorder(Border buttonBorder)
SelectionBorder that encapsulates the
specified button border.
buttonBorder - The button border.| Method Detail |
|---|
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
paintBorder in interface Borderc - The component for which this border is being painted.g - The paint graphics.x - The x position of the painted border.y - The y position of the painted border.width - The width of the painted border.height - The height of the painted border.public Insets getBorderInsets(Component c)
getBorderInsets in interface Borderc - The component for which this border insets' value applies.
public boolean isBorderOpaque()
isBorderOpaque in interface Bordertrue if the border is opaque, or
false otherwise.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||