|
|||||||||
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.viewer.LargeStringViewer
public class LargeStringViewer
Field Summary |
---|
Constructor Summary | |
---|---|
LargeStringViewer()
|
|
LargeStringViewer(java.lang.Class beanClass,
java.lang.String property,
java.lang.String constructionHints)
|
Method Summary | |
---|---|
void |
applyContext()
|
Color |
getBackground()
Returns the background color of the component. |
Color |
getBorderColor()
|
int |
getBorderSize()
|
int |
getBorderStyle()
|
Color |
getBottomBorderColor()
|
int |
getBottomBorderSize()
|
int |
getBottomBorderStyle()
|
Font |
getFont()
Returns the font. |
Color |
getForeground()
Returns the foreground of the component. |
int |
getHeight()
|
int |
getHeightUnits()
|
int |
getHorizontalAlignment()
|
int |
getHorizontalTextPosition()
|
Color |
getLeftBorderColor()
|
int |
getLeftBorderSize()
|
int |
getLeftBorderStyle()
|
int |
getMaximumVisibleCharacters()
|
java.lang.String |
getNullLabel()
|
Color |
getRightBorderColor()
|
int |
getRightBorderSize()
|
int |
getRightBorderStyle()
|
Color |
getTopBorderColor()
|
int |
getTopBorderSize()
|
int |
getTopBorderStyle()
|
int |
getVerticalAlignment()
|
int |
getVerticalTextPosition()
|
int |
getWidth()
|
int |
getWidthUnits()
|
void |
preRender()
Make changes to the visual representation of this component before Echo starts rendering the component. |
void |
setBackground(Color color)
Sets the background color of the component. |
void |
setBorderColor(Color borderColor)
|
void |
setBorderSize(int borderSize)
|
void |
setBorderStyle(int style)
|
void |
setBottomBorderColor(Color borderColor)
|
void |
setBottomBorderSize(int borderSize)
|
void |
setBottomBorderStyle(int borderStyle)
|
void |
setFont(Font font)
Sets the font of the component. |
void |
setHeight(int height)
|
void |
setHeightUnits(int heightUnits)
|
void |
setHorizontalAlignment(int alignment)
|
void |
setHorizontalTextPosition(int newValue)
|
void |
setLeftBorderColor(Color borderColor)
|
void |
setLeftBorderSize(int borderSize)
|
void |
setLeftBorderStyle(int borderStyle)
|
void |
setMaximumVisibleCharacters(int maximumVisibleCharacters)
|
void |
setNullLabel(java.lang.String nullLabel)
|
void |
setRightBorderColor(Color borderColor)
|
void |
setRightBorderSize(int borderSize)
|
void |
setRightBorderStyle(int borderStyle)
|
void |
setTopBorderSize(int borderSize)
|
void |
setTopBorderStyle(int borderStyle)
|
void |
setVerticalAlignment(int alignment)
|
void |
setVerticalTextPosition(int newValue)
|
void |
setWidth(int width)
|
void |
setWidthUnits(int widthUnits)
|
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 LargeStringViewer()
public LargeStringViewer(java.lang.Class beanClass, java.lang.String property, java.lang.String constructionHints)
Method Detail |
---|
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 int getMaximumVisibleCharacters()
public void setMaximumVisibleCharacters(int maximumVisibleCharacters)
public void setFont(Font font)
Component
setFont
in interface Component
setFont
in class AbstractComponent
font
- The new font of the component.public Font getFont()
Component
getFont
in interface Component
getFont
in class AbstractComponent
public void applyContext()
applyContext
in interface Precreation
public Color getBackground()
Component
getBackground
in interface Component
getBackground
in class AbstractComponent
public Color getBorderColor()
public int getBorderSize()
public int getBorderStyle()
public Color getBottomBorderColor()
public int getBottomBorderSize()
public int getBottomBorderStyle()
public Color getForeground()
Component
getForeground
in interface Component
getForeground
in class AbstractComponent
public int getHeight()
public int getHeightUnits()
public int getHorizontalAlignment()
public int getHorizontalTextPosition()
public Color getLeftBorderColor()
public int getLeftBorderSize()
public int getLeftBorderStyle()
public Color getRightBorderColor()
public int getRightBorderSize()
public int getRightBorderStyle()
public Color getTopBorderColor()
public int getTopBorderSize()
public int getTopBorderStyle()
public int getVerticalAlignment()
public int getVerticalTextPosition()
public int getWidth()
public int getWidthUnits()
public void setBackground(Color color)
Component
setBackground
in interface Component
setBackground
in class AbstractComponent
color
- The new background color of the component.public void setBorderColor(Color borderColor)
public void setBorderSize(int borderSize)
public void setBorderStyle(int style)
public void setBottomBorderColor(Color borderColor)
public void setBottomBorderSize(int borderSize)
public void setBottomBorderStyle(int borderStyle)
public void setHeight(int height)
public void setHeightUnits(int heightUnits)
public void setHorizontalAlignment(int alignment)
public void setHorizontalTextPosition(int newValue)
public void setLeftBorderColor(Color borderColor)
public void setLeftBorderSize(int borderSize)
public void setLeftBorderStyle(int borderStyle)
public void setRightBorderColor(Color borderColor)
public void setRightBorderSize(int borderSize)
public void setRightBorderStyle(int borderStyle)
public void setTopBorderSize(int borderSize)
public void setTopBorderStyle(int borderStyle)
public void setVerticalAlignment(int alignment)
public void setVerticalTextPosition(int newValue)
public void setWidth(int width)
public void setWidthUnits(int widthUnits)
public java.lang.String getNullLabel()
public void setNullLabel(java.lang.String nullLabel)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |