com.f1j.ss
Interface BorderFormat


public interface BorderFormat
extends FormatBase

The Border Format interface.


Inner Class Summary
static class BorderFormat.EProperty
          The Border Format Property enumeration
static class BorderFormat.EStyle
          The Border Format Style enumeration
 
Field Summary
static BorderFormat.EProperty eBorderBottom
          Bottom border property
static BorderFormat.EStyle eBorderDashDot
          Dash dot border style
static BorderFormat.EStyle eBorderDashDotDot
          Dash dot dot border style
static BorderFormat.EStyle eBorderDashed
          Dashed border style
static BorderFormat.EProperty eBorderDiagDown
          Diagonal down border property
static BorderFormat.EProperty eBorderDiagUp
          Diagonal up border property
static BorderFormat.EStyle eBorderDotted
          Dotted border style
static BorderFormat.EStyle eBorderDouble
          Double border style
static BorderFormat.EStyle eBorderHair
          Hair border style
static BorderFormat.EProperty eBorderInsideHoriz
          Inside horizontal border property
static BorderFormat.EProperty eBorderInsideVert
          Inside vertical border property
static BorderFormat.EProperty eBorderLeft
          Left border property
static BorderFormat.EStyle eBorderMedium
          Medium border style
static BorderFormat.EStyle eBorderMediumDashDot
          Medium dash dot border style
static BorderFormat.EStyle eBorderMediumDashDotDot
          Medium dash dot dot border style
static BorderFormat.EStyle eBorderMediumDashed
          Medium dashed border style
static BorderFormat.EStyle eBorderNone
          No border style
static BorderFormat.EProperty eBorderRight
          Right border property
static BorderFormat.EStyle eBorderSlantedDashDot
          Slanted dash dot border style
static BorderFormat.EStyle eBorderThick
          Thick border style
static BorderFormat.EStyle eBorderThin
          Thin border style
static BorderFormat.EProperty eBorderTop
          Top border property
 
Method Summary
 void clear(BorderFormat.EProperty border)
          Clears the specified border.
 void clearAll()
          Clears all border formatting
 int getColor(BorderFormat.EProperty border)
          Returns the color of the specified border.
 BorderFormat.EStyle getStyle(BorderFormat.EProperty border)
          Returns the style of the specified border.
 void setStyle(BorderFormat.EProperty border, BorderFormat.EStyle style)
          Sets the style of the specified border.
 void setStyleAndColor(BorderFormat.EProperty border, BorderFormat.EStyle style, int color)
          Sets the style and color of the specified border.
 
Methods inherited from interface com.f1j.util.FormatBase
isUndefined, isUndefined, isUsed, setUndefined, undefineAll, useAll
 

Field Detail

eBorderBottom

public static final BorderFormat.EProperty eBorderBottom
Bottom border property

eBorderDiagDown

public static final BorderFormat.EProperty eBorderDiagDown
Diagonal down border property

eBorderDiagUp

public static final BorderFormat.EProperty eBorderDiagUp
Diagonal up border property

eBorderInsideHoriz

public static final BorderFormat.EProperty eBorderInsideHoriz
Inside horizontal border property

eBorderInsideVert

public static final BorderFormat.EProperty eBorderInsideVert
Inside vertical border property

eBorderLeft

public static final BorderFormat.EProperty eBorderLeft
Left border property

eBorderRight

public static final BorderFormat.EProperty eBorderRight
Right border property

eBorderTop

public static final BorderFormat.EProperty eBorderTop
Top border property

eBorderNone

public static final BorderFormat.EStyle eBorderNone
No border style

eBorderThin

public static final BorderFormat.EStyle eBorderThin
Thin border style

eBorderMedium

public static final BorderFormat.EStyle eBorderMedium
Medium border style

eBorderDashed

public static final BorderFormat.EStyle eBorderDashed
Dashed border style

eBorderDotted

public static final BorderFormat.EStyle eBorderDotted
Dotted border style

eBorderThick

public static final BorderFormat.EStyle eBorderThick
Thick border style

eBorderDouble

public static final BorderFormat.EStyle eBorderDouble
Double border style

eBorderHair

public static final BorderFormat.EStyle eBorderHair
Hair border style

eBorderMediumDashed

public static final BorderFormat.EStyle eBorderMediumDashed
Medium dashed border style

eBorderDashDot

public static final BorderFormat.EStyle eBorderDashDot
Dash dot border style

eBorderMediumDashDot

public static final BorderFormat.EStyle eBorderMediumDashDot
Medium dash dot border style

eBorderDashDotDot

public static final BorderFormat.EStyle eBorderDashDotDot
Dash dot dot border style

eBorderMediumDashDotDot

public static final BorderFormat.EStyle eBorderMediumDashDotDot
Medium dash dot dot border style

eBorderSlantedDashDot

public static final BorderFormat.EStyle eBorderSlantedDashDot
Slanted dash dot border style
Method Detail

clearAll

public void clearAll()
Clears all border formatting

clear

public void clear(BorderFormat.EProperty border)
Clears the specified border.
Parameters:
border - The border to clear

getColor

public int getColor(BorderFormat.EProperty border)
Returns the color of the specified border.
Parameters:
border - the border
Returns:
the color of the border.

getStyle

public BorderFormat.EStyle getStyle(BorderFormat.EProperty border)
Returns the style of the specified border.
Parameters:
border - the border
Returns:
the style of the border.

setStyleAndColor

public void setStyleAndColor(BorderFormat.EProperty border,
                             BorderFormat.EStyle style,
                             int color)
Sets the style and color of the specified border.
Parameters:
border - the border
style - the style to set on the border
color - the color to set on the border

setStyle

public void setStyle(BorderFormat.EProperty border,
                     BorderFormat.EStyle style)
Sets the style of the specified border.
Parameters:
border - the border
style - the style to set on the border