jdbreport.model
Class Border
java.lang.Object
jdbreport.model.Border
- All Implemented Interfaces:
- Serializable, Cloneable
public class Border
- extends Object
- implements Cloneable, Serializable
- Version:
- 2.0 03.05.2011
- Author:
- Andrey Kholmanskih
- See Also:
- Serialized Form
psSolid
public static final int psSolid
- See Also:
- Constant Field Values
psDash
public static final int psDash
- See Also:
- Constant Field Values
psDot
public static final int psDot
- See Also:
- Constant Field Values
psDashDot
public static final int psDashDot
- See Also:
- Constant Field Values
psDashDotDot
public static final int psDashDotDot
- See Also:
- Constant Field Values
psDouble
public static final int psDouble
- See Also:
- Constant Field Values
LINE_LEFT
public static final byte LINE_LEFT
- See Also:
- Constant Field Values
LINE_TOP
public static final byte LINE_TOP
- See Also:
- Constant Field Values
LINE_RIGHT
public static final byte LINE_RIGHT
- See Also:
- Constant Field Values
LINE_BOTTOM
public static final byte LINE_BOTTOM
- See Also:
- Constant Field Values
LINE_VMIDDLE
public static final byte LINE_VMIDDLE
- See Also:
- Constant Field Values
LINE_HMIDDLE
public static final byte LINE_HMIDDLE
- See Also:
- Constant Field Values
LINE_BORDER
public static final byte LINE_BORDER
- See Also:
- Constant Field Values
LINE_GRID
public static final byte LINE_GRID
- See Also:
- Constant Field Values
LINE_MIDDLE
public static final byte LINE_MIDDLE
- See Also:
- Constant Field Values
borderPosition
public static final String[] borderPosition
str_position
public static final String[] str_position
MAX_WIDTH
public static final float MAX_WIDTH
- See Also:
- Constant Field Values
defaultBorder
public static Border defaultBorder
Border
public Border()
Border
public Border(Color color)
Border
public Border(Color color,
float width)
Border
public Border(Color color,
float width,
int style)
parsePosition
public static byte parsePosition(String name)
getColor
public Color getColor()
- Returns the border's color
- Returns:
- the border's color.
getWidth
@Deprecated
public int getWidth()
- Deprecated.
- Returns the border's width in pixels. Deprecated, use getLineWidth
- Returns:
- the border's width.
getLineWidth
public float getLineWidth()
setStyle
public void setStyle(int style)
- Sets the border's style
- Parameters:
style
- The style to set.
getStyle
public int getStyle()
- Returns the border's style
- Returns:
- the style.
getStroke
public Stroke getStroke()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
clone
public Border clone()
- Overrides:
clone
in class Object