|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mavis.gui.StyledWrapper
public class StyledWrapper
Wrapper class for holding the value to be rendered and its style parameters. Used by StyledTableCellRenderer and StyledCellEditor.
Field Summary | |
---|---|
java.awt.Color |
background
The background color of this component or null to use the parent's background color. |
javax.swing.border.Border |
border
The border of this component or null if no border is currently set. |
java.awt.Color |
focusBackground
The background color of this component when it has focus or null to use the parent's background color. |
javax.swing.border.Border |
focusBorder
The border of this component when it has focus or null to use the default border. |
java.awt.Font |
font
The font of this component or null to use the parent's font. |
java.awt.Color |
foreground
The foreground color of this component or null to use the parent's foreground color. |
int |
horizontalAlignment
The value of the horizontalAlignment property, one of the following constants defined in SwingConstants: LEFT, CENTER, RIGHT, LEADING or TRAILING. |
boolean |
opaque
If true the component paints every pixel within its bounds. |
java.awt.Color |
selectedBackground
The background color of this component when it is selected or null to use the parent's background color. |
javax.swing.border.Border |
selectedBorder
The border of this component when it is selected or null to use the default border. |
java.awt.Color |
selectedFocusBackground
The background color of this component when it is selected and has focus or null to use the parent's background color. |
javax.swing.border.Border |
selectedFocusBorder
The border of this component when it is selected and has focus or null to use the default border. |
java.lang.Object |
value
The wrapped value. |
int |
verticalAlignment
The value of the verticalAlignment property, one of the following constants defined in SwingConstants: TOP, CENTER, or BOTTOM. |
Constructor Summary | |
---|---|
StyledWrapper()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.Object value
public int horizontalAlignment
public int verticalAlignment
public boolean opaque
public javax.swing.border.Border border
public javax.swing.border.Border selectedBorder
public javax.swing.border.Border focusBorder
public javax.swing.border.Border selectedFocusBorder
public java.awt.Color background
public java.awt.Color selectedBackground
public java.awt.Color focusBackground
public java.awt.Color selectedFocusBackground
public java.awt.Color foreground
public java.awt.Font font
Constructor Detail |
---|
public StyledWrapper()
Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |