|
Quaqua 8.0 2011-10-02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.randelshofer.quaqua.border.CompositeVisualMarginBorder
public class CompositeVisualMarginBorder
CompositeVisualMarginBorder
.
Constructor Summary | |
---|---|
CompositeVisualMarginBorder(javax.swing.border.Border actualBorder,
java.awt.Insets visualMargin)
Creates a new instance which draws actualBorder which has
a visual margin of visualMargin . |
|
CompositeVisualMarginBorder(javax.swing.border.Border actualBorder,
java.awt.Insets visualMargin,
boolean isTopFixed,
boolean isLeftFixed,
boolean isBottomFixed,
boolean isRightFixed)
|
|
CompositeVisualMarginBorder(javax.swing.border.Border actualBorder,
int top,
int left,
int bottom,
int right)
Creates a new instance which draws actualBorder which has
a visual margin of top,left,bottom,right . |
|
CompositeVisualMarginBorder(javax.swing.border.Border actualBorder,
int top,
int left,
int bottom,
int right,
boolean isTopFixed,
boolean isLeftFixed,
boolean isBottomFixed,
boolean isRightFixed)
|
Method Summary | |
---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c)
|
java.awt.Insets |
getBorderInsets(java.awt.Component c,
java.awt.Insets insets)
Reinitializes the insets parameter with this Border's current Insets. |
java.awt.Insets |
getVisualMargin(java.awt.Component c)
|
protected java.awt.Insets |
getVisualMargin(java.awt.Component c,
java.awt.Insets insets)
Reinitializes the insets parameter with this Border's current Insets. |
boolean |
isBorderOpaque()
|
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositeVisualMarginBorder(javax.swing.border.Border actualBorder, int top, int left, int bottom, int right)
actualBorder
which has
a visual margin of top,left,bottom,right
.
actualBorder
- top
- left
- bottom
- right
- public CompositeVisualMarginBorder(javax.swing.border.Border actualBorder, int top, int left, int bottom, int right, boolean isTopFixed, boolean isLeftFixed, boolean isBottomFixed, boolean isRightFixed)
public CompositeVisualMarginBorder(javax.swing.border.Border actualBorder, java.awt.Insets visualMargin)
actualBorder
which has
a visual margin of visualMargin
.
actualBorder
- visualMargin
- public CompositeVisualMarginBorder(javax.swing.border.Border actualBorder, java.awt.Insets visualMargin, boolean isTopFixed, boolean isLeftFixed, boolean isBottomFixed, boolean isRightFixed)
Method Detail |
---|
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.Border
public boolean isBorderOpaque()
isBorderOpaque
in interface javax.swing.border.Border
public final java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets
in interface javax.swing.border.Border
public java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)
c
- the component for which this border insets value appliesinsets
- the object to be reinitialized
insets
objectpublic final java.awt.Insets getVisualMargin(java.awt.Component c)
getVisualMargin
in interface VisualMargin
protected java.awt.Insets getVisualMargin(java.awt.Component c, java.awt.Insets insets)
c
- the component for which this border insets value appliesinsets
- the object to be reinitialized
insets
object
|
Copyright 2003-2007 (c) Werner Randelshofer. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |