|
|||||||||
| Home >> All >> com >> eireneh >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.eireneh.swing
Class EdgeBorder

java.lang.Objectcom.eireneh.swing.EdgeBorder
- All Implemented Interfaces:
- javax.swing.border.Border, javax.swing.SwingConstants
- public class EdgeBorder
- extends java.lang.Object
- implements javax.swing.border.Border, javax.swing.SwingConstants
- extends java.lang.Object
EdgeBorder.
|
Distribution Licence: Project B is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The License is available on the internet here, by writing to Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, Or locally at the Licence link below. The copyright to this program is held by it's authors. |
| Field Summary | |
protected int |
edge
The edge to draw |
protected int |
lift
The raised/lowered state |
static int |
LOWERED
A lowered border |
static int |
RAISED
A raised border |
| Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Constructor Summary | |
EdgeBorder()
Create an EdgeBorder showing a northern border |
|
EdgeBorder(int edge)
Create an EdgeBorder with a selected edge |
|
| Method Summary | |
java.awt.Insets |
getBorderInsets(java.awt.Component component)
Get the insets for a given component |
boolean |
isBorderOpaque()
Is this border opaque |
void |
paintBorder(java.awt.Component component,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
Actually go and paint the border |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
RAISED
public static final int RAISED
- A raised border
- See Also:
- Constant Field Values
LOWERED
public static final int LOWERED
- A lowered border
- See Also:
- Constant Field Values
edge
protected int edge
- The edge to draw
lift
protected int lift
- The raised/lowered state
| Constructor Detail |
EdgeBorder
public EdgeBorder()
- Create an EdgeBorder showing a northern border
EdgeBorder
public EdgeBorder(int edge)
- Create an EdgeBorder with a selected edge
| Method Detail |
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component component)
- Get the insets for a given component
- Specified by:
getBorderInsetsin interfacejavax.swing.border.Border
isBorderOpaque
public boolean isBorderOpaque()
- Is this border opaque
- Specified by:
isBorderOpaquein interfacejavax.swing.border.Border
paintBorder
public void paintBorder(java.awt.Component component, java.awt.Graphics g, int x, int y, int w, int h)
- Actually go and paint the border
- Specified by:
paintBorderin interfacejavax.swing.border.Border
|
|||||||||
| Home >> All >> com >> eireneh >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.eireneh.swing.EdgeBorder