|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.swing.border.AbstractBorder
de.uni_paderborn.fujaba.fsa.swing.border.AbstractColorBorder
de.uni_paderborn.fujaba.fsa.swing.border.OvalBorder
No comment provided by developer, please add a comment to improve documentation.
| Constructor Summary | |
OvalBorder()
Constructor for class OvalBorder |
|
OvalBorder(boolean opaque)
Creates a new OvalBorder with the given parameters. |
|
OvalBorder(boolean opaque,
java.awt.Stroke stroke)
Creates a new OvalBorder with the given parameters. |
|
| Method Summary | |
java.awt.Insets |
getBorderInsets(java.awt.Component c)
Get the borderInsets attribute of the OvalBorder object |
java.awt.Insets |
getBorderInsets(java.awt.Component c,
java.awt.Insets insets)
Get the borderInsets attribute of the OvalBorder object |
java.awt.Stroke |
getStroke()
Get the stroke attribute of the OvalBorder object |
int |
getThickness()
Get the thickness attribute of the OvalBorder object |
boolean |
isBorderDashed()
Get the borderDashed attribute of the OvalBorder object |
boolean |
isBorderOpaque()
Get the borderOpaque attribute of the OvalBorder object |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
This method draws an oval border around the component, filling the oval inside depending on isBorderOpaque(). |
void |
setBorderDashed(boolean dashed)
Sets the borderDashed attribute of the OvalBorder object |
void |
setBorderOpaque(boolean opaque)
Sets the borderOpaque attribute of the OvalBorder object |
void |
setDoubleOval(boolean value)
Sets the doubleOval attribute of the OvalBorder object |
void |
setStroke(java.awt.Stroke stroke)
Sets the stroke attribute of the OvalBorder object |
void |
setThickness(int newThickness)
Sets the thickness attribute of the OvalBorder object |
| Methods inherited from class de.uni_paderborn.fujaba.fsa.swing.border.AbstractColorBorder |
getBorderColor, setBorderColor |
| Methods inherited from class javax.swing.border.AbstractBorder |
getInteriorRectangle, getInteriorRectangle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OvalBorder()
public OvalBorder(boolean opaque,
java.awt.Stroke stroke)
opaque - if set to true, the inner area of the oval will be cleared while drawingstroke - stroke to use while rendering the border. Can be used to increase the
border thickness.public OvalBorder(boolean opaque)
opaque - if set to true, the inner area of the oval will be cleared while drawing| Method Detail |
public java.awt.Insets getBorderInsets(java.awt.Component c)
c - No description provided
public java.awt.Insets getBorderInsets(java.awt.Component c,
java.awt.Insets insets)
c - No description providedinsets - No description provided
public void setBorderOpaque(boolean opaque)
opaque - The new borderOpaque valuepublic boolean isBorderOpaque()
public java.awt.Stroke getStroke()
public void setStroke(java.awt.Stroke stroke)
stroke - The new stroke valuepublic void setBorderDashed(boolean dashed)
dashed - The new borderDashed valuepublic boolean isBorderDashed()
public void setThickness(int newThickness)
newThickness - The new thickness valuepublic int getThickness()
public void setDoubleOval(boolean value)
value - The new doubleOval value
public void paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
isBorderOpaque().
c - No description providedg - No description providedx - No description providedy - No description providedwidth - No description providedheight - No description provided
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||