|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdatechooser.view.appearance.CellRenderer
datechooser.view.appearance.CellAppearance
datechooser.view.appearance.swing.SwingCellAppearance
public class SwingCellAppearance
Swing cell appearance.
Swing - стиль ячеек.
| Constructor Summary | |
|---|---|
SwingCellAppearance(java.awt.Font font,
java.awt.Color color,
java.awt.Color cursorColor,
boolean pressed,
boolean enabled,
Painter painter)
|
|
| Method Summary | |
|---|---|
void |
assign(CellAppearance newAppearance)
Assign one cell properties for another. |
java.lang.Object |
clone()
Deep clone. |
boolean |
equals(java.lang.Object obj)
|
java.awt.Composite |
getComposite()
Get composite stile for graphical output. |
java.awt.Color |
getCursorColor()
Cursor color. |
java.awt.Font |
getFont()
|
Painter |
getPainter()
|
protected CellRenderer |
getRenderer()
|
java.awt.Color |
getTextColor()
|
boolean |
isEnabled()
|
boolean |
isPressed()
|
void |
setCursorColor(java.awt.Color cursorColor)
Set cursor color. |
void |
setEnabled(boolean enabled)
|
void |
setFont(java.awt.Font font)
|
void |
setPressed(boolean pressed)
|
void |
setTextColor(java.awt.Color textColor)
|
| Methods inherited from class datechooser.view.appearance.CellAppearance |
|---|
isSelectable, render, setSelectable |
| Methods inherited from class datechooser.view.appearance.CellRenderer |
|---|
paintCursor, render |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SwingCellAppearance(java.awt.Font font,
java.awt.Color color,
java.awt.Color cursorColor,
boolean pressed,
boolean enabled,
Painter painter)
| Method Detail |
|---|
public Painter getPainter()
protected CellRenderer getRenderer()
getRenderer in class CellAppearanceCellRendererpublic java.lang.Object clone()
CellAppearance
clone in class CellAppearancepublic void assign(CellAppearance newAppearance)
CellAttributes
assign in interface CellAttributespublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic boolean isPressed()
public void setPressed(boolean pressed)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public java.awt.Font getFont()
getFont in interface CellAttributespublic java.awt.Color getCursorColor()
CellAppearance
getCursorColor in class CellAppearancepublic void setCursorColor(java.awt.Color cursorColor)
CellAppearance
setCursorColor in class CellAppearancepublic java.awt.Color getTextColor()
getTextColor in interface CellAttributespublic void setFont(java.awt.Font font)
setFont in interface CellAttributespublic void setTextColor(java.awt.Color textColor)
setTextColor in interface CellAttributespublic java.awt.Composite getComposite()
CellAppearance
getComposite in class CellAppearance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||