NextApp Echo3
v3.0.b4

nextapp.echo.app
Class Border.Side

java.lang.Object
  extended by nextapp.echo.app.Border.Side
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Border

public static class Border.Side
extends java.lang.Object
implements java.io.Serializable

A representation of one or more sides of a border.

See Also:
Serialized Form

Constructor Summary
Border.Side(Extent size, Color color, int style)
          Creates a new border side.
Border.Side(int sizePx, Color color, int style)
          Creates a new border Side with a pixel-based size.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 Color getColor()
          Returns the border side color.
 Extent getSize()
          Returns the border side size.
 int getStyle()
          Returns the border side style.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Border.Side

public Border.Side(int sizePx,
                   Color color,
                   int style)
Creates a new border Side with a pixel-based size.

Parameters:
sizePx - the size of the border side, in pixels
color - the color of the border side
style - the style of the border side, one of the following constant values:
  • STYLE_NONE
  • STYLE_SOLID
  • STYLE_INSET
  • STYLE_OUTSET
  • STYLE_GROOVE
  • STYLE_RIDGE
  • STYLE_DOUBLE
  • STYLE_DOTTED
  • STYLE_DASHED

Border.Side

public Border.Side(Extent size,
                   Color color,
                   int style)
Creates a new border side.

Parameters:
size - the size of the border side (this property only supports Extents with fixed (i.e., not percent) units)
color - the color of the border side
style - the style of the border side, one of the following constant values:
  • STYLE_NONE
  • STYLE_SOLID
  • STYLE_INSET
  • STYLE_OUTSET
  • STYLE_GROOVE
  • STYLE_RIDGE
  • STYLE_DOUBLE
  • STYLE_DOTTED
  • STYLE_DASHED
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

getColor

public Color getColor()
Returns the border side color.

Returns:
the color

getSize

public Extent getSize()
Returns the border side size.

Returns:
the size

getStyle

public int getStyle()
Returns the border side style.

Returns:
the style

NextApp Echo3
v3.0.b4