|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdatechooser.view.appearance.ViewAppearance
public class ViewAppearance
View profile. Contains rendering options for each cell's type.
Профиль внешнего вида ячейки. Содержит настройки рисования для ячеек каждого типа.
Constructor Summary | |
---|---|
ViewAppearance()
Default constructor, does not make ready to use object. |
|
ViewAppearance(java.lang.String name,
CellAppearance usual,
CellAppearance selected,
CellAppearance now,
CellAppearance scroll,
CellAppearance caption,
CellAppearance disabled,
BackRenderer renderer,
boolean canBeTransparent)
Constructs editable calendar view. |
|
ViewAppearance(java.lang.String name,
CellAppearance usual,
CellAppearance selected,
CellAppearance now,
CellAppearance scroll,
CellAppearance caption,
CellAppearance disabled,
BackRenderer renderer,
boolean canBeTransparent,
boolean editable)
Constructs calendar view. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
|
java.lang.Object |
clone()
|
CellAppearance |
getCaption()
|
CellAppearance |
getDisabled()
|
java.lang.String |
getName()
Get view name. |
CellAppearance |
getNow()
|
BackRenderer |
getRenderer()
Get cell renderer. |
CellAppearance |
getScroll()
|
CellAppearance |
getSelected()
|
CellAppearance |
getUsual()
|
boolean |
isEditable()
Is view editable. |
boolean |
isSupportsTransparency()
Does view support transparency. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
|
void |
setCaption(CellAppearance caption)
|
void |
setDisabled(CellAppearance disabled)
|
void |
setEditable(boolean editable)
Set view editability. |
void |
setName(java.lang.String name)
Set view name. |
void |
setNow(CellAppearance now)
|
void |
setRenderer(BackRenderer renderer)
Set cell renderer. |
void |
setScroll(CellAppearance scroll)
|
void |
setSelected(CellAppearance selected)
|
void |
setSupportsTransparency(boolean supportsTransparency)
Set transparency support. |
void |
setUsual(CellAppearance usual)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewAppearance()
public ViewAppearance(java.lang.String name, CellAppearance usual, CellAppearance selected, CellAppearance now, CellAppearance scroll, CellAppearance caption, CellAppearance disabled, BackRenderer renderer, boolean canBeTransparent)
ViewAppearance(String, CellAppearance, CellAppearance,
CellAppearance, CellAppearance, CellAppearance, CellAppearance,
BackRenderer, boolean, boolean)
public ViewAppearance(java.lang.String name, CellAppearance usual, CellAppearance selected, CellAppearance now, CellAppearance scroll, CellAppearance caption, CellAppearance disabled, BackRenderer renderer, boolean canBeTransparent, boolean editable)
name
- View name.usual
- Render parameters for usual cells.selected
- Render parameters for selected cells.now
- Render parameters for now cells.scroll
- Render parameters for scroll cells.caption
- Render parameters for caption cells.disabled
- Render parameters for disabled cells.renderer
- Cell renderer.canBeTransparent
- Does this view allow transparency.editable
- Is view editable.Method Detail |
---|
public CellAppearance getUsual()
public void setUsual(CellAppearance usual)
public CellAppearance getSelected()
public void setSelected(CellAppearance selected)
public CellAppearance getNow()
public void setNow(CellAppearance now)
public CellAppearance getScroll()
public void setScroll(CellAppearance scroll)
public java.lang.String getName()
public void setName(java.lang.String name)
public CellAppearance getCaption()
public void setCaption(CellAppearance caption)
public CellAppearance getDisabled()
public void setDisabled(CellAppearance disabled)
public java.lang.Object clone()
clone
in class java.lang.Object
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
public boolean isEditable()
public void setEditable(boolean editable)
public BackRenderer getRenderer()
public void setRenderer(BackRenderer renderer)
CellRenderer
public boolean isSupportsTransparency()
public void setSupportsTransparency(boolean supportsTransparency)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |