|
|||||||||
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.components.PropertyGrid
public class PropertyGrid
Field Summary | |
---|---|
static int |
PERCENT_UNITS
|
static int |
PIXEL_UNITS
|
Constructor Summary | |
---|---|
PropertyGrid()
|
|
PropertyGrid(java.lang.Class beanClass,
java.lang.String property,
java.lang.String constructionHints)
|
|
PropertyGrid(java.lang.Class beanClass,
java.lang.String property,
java.lang.String gridConstructionHints,
ConstructionList constructionList)
|
Method Summary | |
---|---|
Component |
createEditor(int i)
|
Component |
createViewer(int i)
|
java.lang.String |
getActionCommand()
|
int |
getBorderSize()
|
java.lang.String |
getButtonLabel()
|
int |
getCellMargin()
|
ConstructionList |
getConstructionList()
|
Color |
getLabelBackground()
Gets the background color for the labels. |
Font |
getLabelFont()
|
Color |
getLabelForeground()
Gets the foreground color for the labels. |
int |
getLabelHorizontalAlignment()
Gets the horizontal alignment for the labels. |
int |
getLabelWidth()
|
int |
getLabelWidthUnits()
|
Color |
getValueBackground()
Gets the background color for the viewers/editors showing the property values. |
Font |
getValueFont()
|
Color |
getValueForeground()
Gets the foreground color for the viewers/editors showing the property values. |
int |
getValueHorizontalAlignment()
Gets the horizontal alignment for the viewers/editors showing the property values. |
int |
getVerticalColumns()
|
int |
getWidth()
|
int |
getWidthUnits()
|
boolean |
isVertical()
|
boolean |
isViewOnly()
|
void |
propagateEvent(ActionEvent event)
|
void |
setActionCommand(java.lang.String actionCommand)
|
void |
setBorderSize(int i)
|
void |
setButtonLabel(java.lang.String buttonLabel)
|
void |
setCellMargin(int i)
|
void |
setConstructionList(ConstructionList constructionList)
|
void |
setFocused(java.lang.String propertyName,
boolean newValue)
Sets the focus on the component that is bound to propertyName. |
void |
setLabelBackground(Color color)
Sets the background color for the labels. |
void |
setLabelFont(Font labelFont)
|
void |
setLabelForeground(Color color)
Sets the foreground color for the labels. |
void |
setLabelHorizontalAlignment(int labelHorizontalAlignment)
Sets the horizontal alignment for the labels. |
void |
setLabelWidth(int labelWidth)
|
void |
setLabelWidthUnits(int labelWidthUnits)
|
void |
setValueBackground(Color color)
Sets the background color for the viewers/editors showing the property values. |
void |
setValueFont(Font valueFont)
|
void |
setValueForeground(Color color)
Sets the foreground color for the viewers/editors showing the property values. |
void |
setValueHorizontalAlignment(int valueHorizontalAlignment)
Sets the horizontal alignment for the viewers/editors showing the property values. |
void |
setVertical(boolean vertical)
|
void |
setVerticalColumns(int verticalColumns)
|
void |
setViewOnly(boolean viewOnly)
Use viewers or editors for displaying the properties. |
void |
setWidth(int width)
|
void |
setWidthUnits(int i)
|
Methods inherited from class net.sf.jzeno.echo.components.CustomComponent |
---|
addValidator, fireActionEvent, fireActionEvent, fireActionEvent, getBean, getBeanClass, getDecorator, getNullObject, getProperty, getValidationErrors, getValidators, getValue, isBound, isMarkedInvalid, isReadOnly, isRequired, isValid, markInvalid, markValid, preRender, rebind, removeValidator, 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 |
Field Detail |
---|
public static final int PIXEL_UNITS
public static final int PERCENT_UNITS
Constructor Detail |
---|
public PropertyGrid()
public PropertyGrid(java.lang.Class beanClass, java.lang.String property, java.lang.String constructionHints)
public PropertyGrid(java.lang.Class beanClass, java.lang.String property, java.lang.String gridConstructionHints, ConstructionList constructionList)
Method Detail |
---|
public void propagateEvent(ActionEvent event)
propagateEvent
in interface EventPropagator
public Component createEditor(int i)
public Component createViewer(int i)
public boolean isVertical()
public void setVertical(boolean vertical)
public int getVerticalColumns()
public void setVerticalColumns(int verticalColumns)
public java.lang.String getButtonLabel()
public void setButtonLabel(java.lang.String buttonLabel)
public ConstructionList getConstructionList()
public void setConstructionList(ConstructionList constructionList)
public boolean isViewOnly()
public void setViewOnly(boolean viewOnly)
Use viewers or editors for displaying the properties.
public Color getLabelBackground()
Gets the background color for the labels.
public Color getLabelForeground()
Gets the foreground color for the labels.
public Color getValueBackground()
Gets the background color for the viewers/editors showing the property values.
public Color getValueForeground()
Gets the foreground color for the viewers/editors showing the property values.
public void setLabelBackground(Color color)
Sets the background color for the labels.
public void setLabelForeground(Color color)
Sets the foreground color for the labels.
public void setValueBackground(Color color)
Sets the background color for the viewers/editors showing the property values.
public void setValueForeground(Color color)
Sets the foreground color for the viewers/editors showing the property values.
public int getLabelHorizontalAlignment()
Gets the horizontal alignment for the labels.
public void setLabelHorizontalAlignment(int labelHorizontalAlignment)
Sets the horizontal alignment for the labels.
public int getValueHorizontalAlignment()
Gets the horizontal alignment for the viewers/editors showing the property values.
public void setValueHorizontalAlignment(int valueHorizontalAlignment)
Sets the horizontal alignment for the viewers/editors showing the property values.
public void setFocused(java.lang.String propertyName, boolean newValue)
Sets the focus on the component that is bound to propertyName.
public void setActionCommand(java.lang.String actionCommand)
setActionCommand
in interface EventSource
setActionCommand
in class CustomComponent
public java.lang.String getActionCommand()
getActionCommand
in interface EventSource
getActionCommand
in class CustomComponent
public void setWidth(int width)
public int getWidth()
public void setWidthUnits(int i)
public int getWidthUnits()
public void setBorderSize(int i)
public int getBorderSize()
public void setCellMargin(int i)
public int getCellMargin()
public int getLabelWidth()
public void setLabelWidth(int labelWidth)
public int getLabelWidthUnits()
public void setLabelWidthUnits(int labelWidthUnits)
public Font getLabelFont()
public void setLabelFont(Font labelFont)
public Font getValueFont()
public void setValueFont(Font valueFont)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |