|
|||||||||
| Home >> All >> org >> progeeks >> meta >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.progeeks.meta.swing
Class DefaultPropertyRenderer

java.lang.Objectorg.progeeks.meta.swing.AbstractPropertyUI
org.progeeks.meta.swing.DefaultPropertyRenderer
- All Implemented Interfaces:
- MetaPropertyRenderer, MetaPropertyUI
- Direct Known Subclasses:
- FormatPropertyRenderer
- public class DefaultPropertyRenderer
- extends AbstractPropertyUI
- implements MetaPropertyRenderer
- extends AbstractPropertyUI
A default implementation of MetaPropertyRenderer that returns a JLabel with an etched border.
- Version:
- $Revision: 1.4 $
| Nested Class Summary |
| Nested classes inherited from class org.progeeks.meta.swing.AbstractPropertyUI |
|
| Field Summary | |
private javax.swing.JLabel |
component
|
| Fields inherited from class org.progeeks.meta.swing.AbstractPropertyUI |
|
| Constructor Summary | |
DefaultPropertyRenderer()
|
|
| Method Summary | |
protected java.lang.String |
formatValue(java.lang.Object value)
Formats the specified value and returns it as a string. |
java.awt.Component |
getUIComponent()
Returns the component that renders the associated property mutator's value. |
protected void |
setComponentValue(java.lang.Object value)
Called to set the current value displayed in the component. |
| Methods inherited from class org.progeeks.meta.swing.AbstractPropertyUI |
getPropertyMutator, isLabeled, isSingleColumn, propertyChanged, release, releaseComponent, resetComponentValue, setPropertyMutator, setPropertyValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.progeeks.meta.swing.MetaPropertyUI |
isLabeled, isSingleColumn, release, setPropertyMutator |
| Field Detail |
component
private javax.swing.JLabel component
| Constructor Detail |
DefaultPropertyRenderer
public DefaultPropertyRenderer()
| Method Detail |
setComponentValue
protected void setComponentValue(java.lang.Object value)
- Called to set the current value displayed in the component.
- Specified by:
setComponentValuein classAbstractPropertyUI
formatValue
protected java.lang.String formatValue(java.lang.Object value)
- Formats the specified value and returns it as
a string.
getUIComponent
public java.awt.Component getUIComponent()
- Returns the component that renders the associated
property mutator's value.
- Specified by:
getUIComponentin interfaceMetaPropertyUI- Specified by:
getUIComponentin classAbstractPropertyUI
|
|||||||||
| Home >> All >> org >> progeeks >> meta >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC