|
||||||||||
| 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
public abstract class CellAppearance
Abstract class for views.
Базовый класс для профилей внешнего вида.
AppearancesList,
Serialized Form| Constructor Summary | |
|---|---|
CellAppearance()
|
|
| Method Summary | |
|---|---|
abstract java.lang.Object |
clone()
Deep clone. |
abstract java.awt.Composite |
getComposite()
Get composite stile for graphical output. |
abstract java.awt.Color |
getCursorColor()
Cursor color. |
protected abstract CellRenderer |
getRenderer()
|
boolean |
isSelectable()
|
void |
render(java.awt.Graphics2D g,
java.awt.Component c,
java.lang.String text,
int width,
int height,
boolean isCursor)
Draw cell method. |
abstract void |
setCursorColor(java.awt.Color color)
Set cursor color. |
void |
setSelectable(boolean selectable)
|
| Methods inherited from class datechooser.view.appearance.CellRenderer |
|---|
paintCursor, render |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface datechooser.view.appearance.CellAttributes |
|---|
assign, getFont, getTextColor, setFont, setTextColor |
| Constructor Detail |
|---|
public CellAppearance()
| Method Detail |
|---|
protected abstract CellRenderer getRenderer()
CellRendererpublic abstract java.lang.Object clone()
clone in class java.lang.Objectpublic boolean isSelectable()
public void setSelectable(boolean selectable)
public void render(java.awt.Graphics2D g,
java.awt.Component c,
java.lang.String text,
int width,
int height,
boolean isCursor)
CellRenderer
render in class CellRendererg - Graphics.c - Palette component. text - Cell text.width - Cell width.height - Cell height.isCursor - Draw cursor.public abstract java.awt.Composite getComposite()
public abstract java.awt.Color getCursorColor()
public abstract void setCursorColor(java.awt.Color color)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||