|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.extension.gui.dock.theme.eclipse.AbstractEclipseBorder
public abstract class AbstractEclipseBorder
Abstract Border managing basic properties that are required by varios
Borders related to the EclipseTheme.
| Field Summary | |
|---|---|
static int |
BOTTOM_LEFT
constant indicating the bottom left edge has to be painted round |
static int |
BOTTOM_RIGHT
constant indicating the bottom right edge has to be painted round |
static int |
TOP_LEFT
constant indicating the top left edge has to be painted round |
static int |
TOP_RIGHT
constant indicating the top right edge has to be painted round |
| Constructor Summary | |
|---|---|
AbstractEclipseBorder(DockController controller,
boolean fillEdges)
Creates a new border |
|
AbstractEclipseBorder(DockController controller,
boolean fillEdges,
int edges)
Creates a new border |
|
| Method Summary | |
|---|---|
DockController |
getController()
Gets the controller in whose realm this border paints |
int |
getRoundEdges()
Tells which edges are painted round. |
boolean |
isBorderOpaque()
|
boolean |
isFillEdges()
Tells whether the edges should be painted. |
void |
setFillEdges(boolean fillEdges)
Sets whether the edges should be filled |
void |
setRoundEdges(int roundEdges)
Sets which edges are painted round. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.border.Border |
|---|
getBorderInsets, paintBorder |
| Field Detail |
|---|
public static final int TOP_LEFT
public static final int TOP_RIGHT
public static final int BOTTOM_LEFT
public static final int BOTTOM_RIGHT
| Constructor Detail |
|---|
public AbstractEclipseBorder(DockController controller,
boolean fillEdges)
controller - the owner of this borderfillEdges - whether to paint over the edges
public AbstractEclipseBorder(DockController controller,
boolean fillEdges,
int edges)
controller - the owner of this borderfillEdges - whether to paint over the edgesedges - the edges that are painted round, or-ed from TOP_LEFT,
TOP_RIGHT, BOTTOM_LEFT and BOTTOM_RIGHT| Method Detail |
|---|
public void setRoundEdges(int roundEdges)
roundEdges - the edges to paint roundpublic int getRoundEdges()
public void setFillEdges(boolean fillEdges)
fillEdges - whether to paint the edgespublic boolean isFillEdges()
true if the edges are to be filledpublic DockController getController()
public boolean isBorderOpaque()
isBorderOpaque in interface Border
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||