|
|||||||||
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.screen.gallery.FontEditor
public class FontEditor
Editor to configure Font objects.
Field Summary |
---|
Constructor Summary | |
---|---|
FontEditor()
|
|
FontEditor(java.lang.Class clazz,
java.lang.String propertyPath,
java.lang.String constructionHints)
|
Method Summary | |
---|---|
void |
applyContext()
|
boolean |
getActive()
|
Font |
getFont()
Returns the font. |
java.lang.String |
getFontName()
|
int |
getFontSize()
|
java.lang.String |
getFontStyle()
|
void |
preRender()
Make changes to the visual representation of this component before Echo starts rendering the component. |
void |
setActive(boolean b)
|
void |
setFont(Font f)
Sets the font of the component. |
void |
setFontName(java.lang.String fontName)
|
void |
setFontSize(int size)
|
void |
setFontStyle(java.lang.String styleName)
|
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 FontEditor()
public FontEditor(java.lang.Class clazz, java.lang.String propertyPath, java.lang.String constructionHints)
Method Detail |
---|
public void setActive(boolean b)
public boolean getActive()
public void applyContext()
applyContext
in interface Precreation
public Font getFont()
Component
getFont
in interface Component
getFont
in class AbstractComponent
public void setFont(Font f)
Component
setFont
in interface Component
setFont
in class AbstractComponent
f
- The new font of the component.public void setFontName(java.lang.String fontName)
public java.lang.String getFontName()
public java.lang.String getFontStyle()
public void setFontStyle(java.lang.String styleName)
public int getFontSize()
public void setFontSize(int size)
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |