|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.table.JCCellStyle | +--com.klg.jclass.table.beans.JCLiveCellStyle
The JCLiveCellStyle
class provides a default implementation of
the CellStyleModel
interface.
Field Summary | |
static int |
BEVEL_BORDER
|
static int |
SOFT_BEVEL_BORDER
|
Fields inherited from interface com.klg.jclass.table.CellStyleModel |
BOTTOM, CENTER, LEFT, RIGHT, SHOW_ALL, SHOW_HORIZONTAL, SHOW_NONE, SHOW_VERTICAL, TOP |
Constructor Summary | |
JCLiveCellStyle(com.klg.jclass.table.beans.LiveTable table)
|
|
JCLiveCellStyle(com.klg.jclass.table.beans.LiveTable table,
com.klg.jclass.cell.JCCellRenderer renderer)
|
|
JCLiveCellStyle(com.klg.jclass.table.beans.LiveTable table,
com.klg.jclass.table.beans.JCLiveCellStyle style)
|
|
JCLiveCellStyle(String foreground,
String background,
String font,
boolean editable,
boolean traversable,
int horizontal_alignment,
int vertical_alignment,
int border_type,
int border_sides,
int clip_hints,
int cell_border_color_mode,
String cell_border_color)
|
Method Summary | |
Object |
clone()
Returns a copy of the style object. |
int |
getCellBorderType()
Returns the CellBorderModel type for the cell. |
protected int |
getSwingCellBorderType(Border border)
|
boolean |
isBackgroundSet()
|
boolean |
isCellBorderColorModeSet()
|
boolean |
isCellBorderColorSet()
|
boolean |
isCellBorderSidesSet()
|
boolean |
isCellBorderTypeSet()
|
boolean |
isClipHintsSet()
|
boolean |
isEditableSet()
|
boolean |
isFontSet()
|
boolean |
isForegroundSet()
|
boolean |
isHorizontalAlignmentSet()
|
boolean |
isTraversableSet()
|
boolean |
isVerticalAlignmentSet()
|
void |
setBackground(Color value)
Overrides the background setting to possibly redo the Bevel/Soft Bevel borders. |
void |
setCellBorderColor(Color value)
Overrides the color setting to possibly redo the Bevel/Soft Bevel borders. |
void |
setCellBorderColorMode(int value)
Overrides the color mode setting to possibly redo the Bevel/Soft Bevel borders. |
void |
setCellBorderType(int borderType)
Sets the CellBorder object for the borderType value
on the cell. |
void |
setForeground(Color value)
Overrides the foreground setting to possibly redo the Bevel/Soft Bevel borders. |
void |
setTable(com.klg.jclass.table.beans.LiveTable t)
Sets the live table component for this cell style. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int BEVEL_BORDER
public static final int SOFT_BEVEL_BORDER
Constructor Detail |
public JCLiveCellStyle(com.klg.jclass.table.beans.LiveTable table)
public JCLiveCellStyle(com.klg.jclass.table.beans.LiveTable table, com.klg.jclass.cell.JCCellRenderer renderer)
public JCLiveCellStyle(com.klg.jclass.table.beans.LiveTable table, com.klg.jclass.table.beans.JCLiveCellStyle style)
public JCLiveCellStyle(String foreground, String background, String font, boolean editable, boolean traversable, int horizontal_alignment, int vertical_alignment, int border_type, int border_sides, int clip_hints, int cell_border_color_mode, String cell_border_color)
Method Detail |
public void setTable(com.klg.jclass.table.beans.LiveTable t)
t
- public Object clone()
CellStyleModel
clone
in interface CellStyleModel
clone
in class JCCellStyle
public int getCellBorderType()
CellBorderModel
type for the cell.
CellBorderModel
for the cellpublic void setCellBorderType(int borderType)
CellBorder
object for the borderType
value
on the cell.
borderType
- public void setCellBorderColor(Color value)
setCellBorderColor
in interface CellStyleModel
setCellBorderColor
in class JCCellStyle
value
- public void setCellBorderColorMode(int value)
setCellBorderColorMode
in interface CellStyleModel
setCellBorderColorMode
in class JCCellStyle
value
- public void setForeground(Color value)
setForeground
in interface CellStyleModel
setForeground
in class JCCellStyle
value
- public void setBackground(Color value)
setBackground
in interface CellStyleModel
setBackground
in class JCCellStyle
value
- protected int getSwingCellBorderType(Border border)
public boolean isEditableSet()
public boolean isTraversableSet()
public boolean isHorizontalAlignmentSet()
public boolean isVerticalAlignmentSet()
public boolean isCellBorderSidesSet()
public boolean isCellBorderTypeSet()
public boolean isClipHintsSet()
public boolean isBackgroundSet()
public boolean isForegroundSet()
public boolean isFontSet()
public boolean isCellBorderColorModeSet()
public boolean isCellBorderColorSet()
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |