|
Java 6 SE Platform 6.0 Home |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcamickr.BorderAdapter
class BorderAdapter
BorderAdapter class handles this instance's displaying of
javax.swing.border.Border objects.
| Field Summary | |
|---|---|
private javax.swing.border.Border |
border
|
private java.awt.Component |
component
|
| Constructor Summary | |
|---|---|
BorderAdapter(javax.swing.border.Border border,
java.lang.String key)
Class constructor sets an instance of the javax.swing.Border interface
and a java.lang.String containing the qualified javax.swing.JComponent
class name. |
|
| Method Summary | |
|---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c)
Accessor for border's java.awt.Insets. |
boolean |
isBorderOpaque()
Returns the boolean value of the border#isBorderOpaque method. |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
Paints border at this x, y location. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private javax.swing.border.Border border
private java.awt.Component component
| Constructor Detail |
|---|
public BorderAdapter(javax.swing.border.Border border,
java.lang.String key)
javax.swing.Border interface
and a java.lang.String containing the qualified javax.swing.JComponent
class name.
border - javax.swing.Border interface instance.key - java.lang.String containing qualified javax.swing.JComponent
class name.javax.swing.Border interface| Method Detail |
|---|
public boolean isBorderOpaque()
boolean value of the border#isBorderOpaque method.
isBorderOpaque in interface javax.swing.border.Borderboolean value for this instance's border#isBorderOpaque method.public java.awt.Insets getBorderInsets(java.awt.Component c)
java.awt.Insets.
getBorderInsets in interface javax.swing.border.Borderjava.awt.Insets of this border's insets.
public void paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
paintBorder in interface javax.swing.border.Borderc - java.awt.Component reference to the component to paint.g - java.awt.Graphics object.x - int value of the x axis coordinate.y - int value of the y axis coordinate.
|
Java 6 SE Platform 6.0 Home |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||