Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 1.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.fop.fo.properties
Class CommonBorderPaddingBackground.BorderInfo

    java.lang.Object
      org.apache.fop.fo.properties.CommonBorderPaddingBackground.BorderInfo

Enclosing class:
  CommonBorderPaddingBackground

public static class CommonBorderPaddingBackground.BorderInfo
extends java.lang.Object

Method Summary
`boolean` | `equals(java.lang.Object obj)`
`java.awt.Color` | `getColor()`
`static CommonBorderPaddingBackground.BorderInfo` | `getInstance(int style, CondLengthProperty width, java.awt.Color color)` Returns a BorderInfo instance corresponding to the given values
`int` | `getRetainedWidth()` Convenience method returning the border-width, taking into account values of "none" and "hidden"
`int` | `getStyle()`
`CondLengthProperty` | `getWidth()`
`int` | `hashCode()`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Method Detail

### getInstance

    public static CommonBorderPaddingBackground.BorderInfo getInstance(int style,
                                                                       CondLengthProperty width,
                                                                       java.awt.Color color)

  Returns a BorderInfo instance corresponding to the given values

  Parameters:
    `style` - the border-style
    `width` - the border-width
    `color` - the border-color
  Returns:
    a cached BorderInfo instance

### getStyle

    public int getStyle()

  Returns:
    the border-style

### getColor

    public java.awt.Color getColor()

  Returns:
    the border-color

### getWidth

    public CondLengthProperty getWidth()

  Returns:
    the border-width

### getRetainedWidth

    public int getRetainedWidth()

  Convenience method returning the border-width, taking into account values of "none" and "hidden"

  Returns:
    the retained border-width

### toString

    public java.lang.String toString()

### equals

    public boolean equals(java.lang.Object obj)

### hashCode

    public int hashCode()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 1.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.