|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echo.AbstractComponent
net.sf.jzeno.echo.components.CustomComponent
net.sf.jzeno.echo.editor.CompactColorEditor
public class CompactColorEditor
Compact viewer + button that allows editing of colors.
Field Summary |
---|
Constructor Summary | |
---|---|
CompactColorEditor()
|
|
CompactColorEditor(java.lang.Class beanClass,
java.lang.String propertyPath,
java.lang.String constructionHints)
|
Method Summary | |
---|---|
void |
applyContext()
|
void |
edit()
|
Color |
getColor()
|
java.lang.String |
getCompactColor()
|
java.lang.String |
getToolTipText()
|
void |
preRender()
Make changes to the visual representation of this component before Echo starts rendering the component. |
void |
setColor(Color color)
|
void |
setToolTipText(java.lang.String toolTipText)
|
Methods inherited from class net.sf.jzeno.echo.components.CustomComponent |
---|
addValidator, fireActionEvent, fireActionEvent, fireActionEvent, getActionCommand, getBean, getBeanClass, getDecorator, getNullObject, getProperty, getValidationErrors, getValidators, getValue, isBound, isMarkedInvalid, isReadOnly, isRequired, isValid, markInvalid, markValid, rebind, removeValidator, setActionCommand, setBean, setBeanClass, setDecorator, setNullObject, setProperty, setReadOnly, setRequired, setValue, traceValue, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompactColorEditor()
public CompactColorEditor(java.lang.Class beanClass, java.lang.String propertyPath, java.lang.String constructionHints)
Method Detail |
---|
public void edit()
public Color getColor()
public void setColor(Color color)
public void setToolTipText(java.lang.String toolTipText)
public java.lang.String getToolTipText()
public java.lang.String getCompactColor()
public void preRender()
PropertyComponent
Make changes to the visual representation of this component before Echo starts rendering the component.
Do not modify any bound javabeans in this method, as the changes to these will not be reflected properly on the screen.
preRender
in interface PropertyComponent
preRender
in class CustomComponent
public void applyContext()
applyContext
in interface Precreation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |