Quaqua 5.4.1 2009-07-14

ch.randelshofer.quaqua
Class QuaquaComboBoxVisualMargin

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by ch.randelshofer.quaqua.VisualMargin
          extended by ch.randelshofer.quaqua.QuaquaComboBoxVisualMargin
All Implemented Interfaces:
java.io.Serializable, javax.swing.border.Border, javax.swing.plaf.UIResource

public class QuaquaComboBoxVisualMargin
extends VisualMargin

QuaquaComboBoxVisualMargin.

Version:
1.0 July 30, 2007 Created.
Author:
Werner Randelshofer
See Also:
Serialized Form

Constructor Summary
QuaquaComboBoxVisualMargin()
          Creates a new instance.
QuaquaComboBoxVisualMargin(boolean ftop, boolean fleft, boolean fbottom, boolean fright)
           
QuaquaComboBoxVisualMargin(java.awt.Insets layoutMargin)
          Creates a new VisualMargin.
QuaquaComboBoxVisualMargin(int top, int left, int bottom, int right)
          Creates a new VisualMargin.
QuaquaComboBoxVisualMargin(int top, int left, int bottom, int right, boolean ftop, boolean fleft, boolean fbottom, boolean fright)
           
 
Method Summary
protected  java.awt.Insets getVisualMargin(java.awt.Component c, java.awt.Insets insets)
          Reinitializes the insets parameter with this Border's current Insets.
 
Methods inherited from class ch.randelshofer.quaqua.VisualMargin
getBorderInsets, getBorderInsets, getVisualMargin, setFixed, setPropertyName
 
Methods inherited from class javax.swing.border.AbstractBorder
getInteriorRectangle, getInteriorRectangle, isBorderOpaque, paintBorder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuaquaComboBoxVisualMargin

public QuaquaComboBoxVisualMargin()
Creates a new instance.


QuaquaComboBoxVisualMargin

public QuaquaComboBoxVisualMargin(int top,
                                  int left,
                                  int bottom,
                                  int right)
Creates a new VisualMargin.

Parameters:
top - Defines the margin from the clip bounds of the component to its visual bounds.
left - Defines the margin from the clip bounds of the component to its visual bounds.
bottom - Defines the margin from the clip bounds of the component to its visual bounds.
right - Defines the margin from the clip bounds of the component to its visual bounds.

QuaquaComboBoxVisualMargin

public QuaquaComboBoxVisualMargin(int top,
                                  int left,
                                  int bottom,
                                  int right,
                                  boolean ftop,
                                  boolean fleft,
                                  boolean fbottom,
                                  boolean fright)

QuaquaComboBoxVisualMargin

public QuaquaComboBoxVisualMargin(boolean ftop,
                                  boolean fleft,
                                  boolean fbottom,
                                  boolean fright)

QuaquaComboBoxVisualMargin

public QuaquaComboBoxVisualMargin(java.awt.Insets layoutMargin)
Creates a new VisualMargin.

Parameters:
layoutMargin - Defines the margin from the clip bounds of the component to its visual bounds. The margin has usually negative values!
Method Detail

getVisualMargin

protected java.awt.Insets getVisualMargin(java.awt.Component c,
                                          java.awt.Insets insets)
Reinitializes the insets parameter with this Border's current Insets.

Overrides:
getVisualMargin in class VisualMargin
Parameters:
c - the component for which this border insets value applies
insets - the object to be reinitialized
Returns:
the insets object

Copyright 2003-2007 (c) Werner Randelshofer.
All rights reserved.