org.allcolor.yahp.cl.converter.swing
Class CSwingHtmlBorder

java.lang.Object
  extended by org.allcolor.yahp.cl.converter.swing.CSwingHtmlBorder

public class CSwingHtmlBorder
extends java.lang.Object


Field Summary
private  java.awt.Color bottomBorderColor
           
private  int bottomBorderType
           
private  int bottomBorderWidth
           
static int dashed
           
static int dotted
           
static int doubleBorder
           
static int groove
           
static int inset
           
private  java.awt.Color leftBorderColor
           
private  int leftBorderType
           
private  int leftBorderWidth
           
static int outset
           
static int ridge
           
private  java.awt.Color rightBorderColor
           
private  int rightBorderType
           
private  int rightBorderWidth
           
static int solid
           
private  java.awt.Color topBorderColor
           
private  int topBorderType
           
private  int topBorderWidth
           
 
Constructor Summary
private CSwingHtmlBorder()
           
 
Method Summary
private static java.lang.String getBorder(javax.swing.text.View view, javax.swing.text.AttributeSet set, java.lang.String name, boolean inherit)
           
static CSwingHtmlBorder getBorder(javax.swing.text.View view, boolean inherit)
           
 java.awt.Color getBottomBorderColor()
           
 int getBottomBorderType()
           
 int getBottomBorderWidth()
           
private static java.awt.Color getColor(java.lang.String color)
           
 java.awt.Color getLeftBorderColor()
           
 int getLeftBorderType()
           
 int getLeftBorderWidth()
           
 java.awt.Color getRightBorderColor()
           
 int getRightBorderType()
           
 int getRightBorderWidth()
           
 java.awt.Color getTopBorderColor()
           
 int getTopBorderType()
           
 int getTopBorderWidth()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dotted

public static final int dotted
See Also:
Constant Field Values

dashed

public static final int dashed
See Also:
Constant Field Values

solid

public static final int solid
See Also:
Constant Field Values

doubleBorder

public static final int doubleBorder
See Also:
Constant Field Values

groove

public static final int groove
See Also:
Constant Field Values

ridge

public static final int ridge
See Also:
Constant Field Values

inset

public static final int inset
See Also:
Constant Field Values

outset

public static final int outset
See Also:
Constant Field Values

leftBorderWidth

private int leftBorderWidth

rightBorderWidth

private int rightBorderWidth

topBorderWidth

private int topBorderWidth

bottomBorderWidth

private int bottomBorderWidth

leftBorderColor

private java.awt.Color leftBorderColor

rightBorderColor

private java.awt.Color rightBorderColor

topBorderColor

private java.awt.Color topBorderColor

bottomBorderColor

private java.awt.Color bottomBorderColor

leftBorderType

private int leftBorderType

rightBorderType

private int rightBorderType

topBorderType

private int topBorderType

bottomBorderType

private int bottomBorderType
Constructor Detail

CSwingHtmlBorder

private CSwingHtmlBorder()
Method Detail

getBottomBorderType

public int getBottomBorderType()

getRightBorderType

public int getRightBorderType()

getTopBorderType

public int getTopBorderType()

getLeftBorderType

public int getLeftBorderType()

getBottomBorderColor

public java.awt.Color getBottomBorderColor()

getBottomBorderWidth

public int getBottomBorderWidth()

getLeftBorderColor

public java.awt.Color getLeftBorderColor()

getLeftBorderWidth

public int getLeftBorderWidth()

getRightBorderColor

public java.awt.Color getRightBorderColor()

getRightBorderWidth

public int getRightBorderWidth()

getTopBorderColor

public java.awt.Color getTopBorderColor()

getTopBorderWidth

public int getTopBorderWidth()

getBorder

private static java.lang.String getBorder(javax.swing.text.View view,
                                          javax.swing.text.AttributeSet set,
                                          java.lang.String name,
                                          boolean inherit)

getBorder

public static CSwingHtmlBorder getBorder(javax.swing.text.View view,
                                         boolean inherit)

getColor

private static java.awt.Color getColor(java.lang.String color)