|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.ui.table.TableStyle
public class TableStyle
Provides a container for text and color styles for a table.
Field Summary | |
---|---|
static Color |
DEFAULT_ALTERNATE_ROW_COLOR
Default alternate row color. |
static Color |
DEFAULT_BACKGROUND
Default background. |
static Font |
DEFAULT_FONT
Default font. |
static Color |
DEFAULT_FOREGROUND
Default foreground. |
static Color |
DEFAULT_GRID_COLOR
Default grid color. |
static TextStyle |
DEFAULT_HEADER_TEXT_STYLE
Default header text style. |
static TextColorSet |
DEFAULT_NORMAL_TEXT_COLOR_SET
Default text color set. |
static Color |
DEFAULT_SELECTION_BACKGROUND
Default selection background. |
static Color |
DEFAULT_SELECTION_FOREGROUND
Default selection foreground. |
static TextColorSet |
DEFAULT_SELECTION_TEXT_COLOR_SET
Default selection text color set. |
static TableStyle |
DEFAULT_TABLE_STYLE
Default table style. |
static TextStyle |
DEFAULT_TEXT_STYLE
Default text style. |
Constructor Summary | |
---|---|
TableStyle()
Construct this object. |
|
TableStyle(TextStyle headerTextStyle,
TextStyle textStyle,
Color gridColor,
Color alternateRowColor)
Construct this object with the given parameters. |
Method Summary | |
---|---|
Object |
clone()
Return a clone of this instance. |
boolean |
equals(Object object)
Return true if the given object is equal to this. |
protected static boolean |
equals(Object object0,
Object object1)
Return true if the given objects are equal. |
Color |
getAlternateRowColor()
|
Color |
getGridColor()
|
TextStyle |
getHeaderTextStyle()
|
TextStyle |
getTextStyle()
|
int |
hashCode()
Returns a hash code value for the object. |
void |
setAlternateRowColor(Color alternateRowColor)
|
void |
setGridColor(Color gridColor)
|
void |
setHeaderTextStyle(TextStyle headerTextStyle)
|
void |
setTextStyle(TextStyle textStyle)
|
String |
toString()
Return a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Font DEFAULT_FONT
public static final Color DEFAULT_FOREGROUND
public static final Color DEFAULT_BACKGROUND
public static final Color DEFAULT_SELECTION_FOREGROUND
public static final Color DEFAULT_SELECTION_BACKGROUND
public static final Color DEFAULT_GRID_COLOR
public static final Color DEFAULT_ALTERNATE_ROW_COLOR
public static final TextColorSet DEFAULT_NORMAL_TEXT_COLOR_SET
public static final TextColorSet DEFAULT_SELECTION_TEXT_COLOR_SET
public static final TextStyle DEFAULT_TEXT_STYLE
public static final TextStyle DEFAULT_HEADER_TEXT_STYLE
public static final TableStyle DEFAULT_TABLE_STYLE
Constructor Detail |
---|
public TableStyle()
public TableStyle(TextStyle headerTextStyle, TextStyle textStyle, Color gridColor, Color alternateRowColor)
Method Detail |
---|
public Object clone()
clone
in class Object
public boolean equals(Object object)
equals
in class Object
object
- The object to compare.public Color getAlternateRowColor()
public Color getGridColor()
public TextStyle getHeaderTextStyle()
public TextStyle getTextStyle()
public int hashCode()
hashCode
in class Object
public void setAlternateRowColor(Color alternateRowColor)
alternateRowColor
- The alternateRowColor to set (cannot be null).public void setGridColor(Color gridColor)
gridColor
- The gridColor to set (cannot be null).public void setHeaderTextStyle(TextStyle headerTextStyle)
headerTextStyle
- The headerTextStyle to set.public void setTextStyle(TextStyle textStyle)
textStyle
- The textStyle to set (cannot be null).public String toString()
toString
in class Object
protected static boolean equals(Object object0, Object object1)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |