|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujoframework.extensions.AbstractUjo
org.ujoframework.extensions.AbstractUjoExt<UJO>
org.ujoframework.implementation.map.MapUjoExt<UjoPropertyRow>
org.ujoframework.swing.UjoPropertyRow
public class UjoPropertyRow
An implementation of TableModel for List of Ujo objects.
An typical usage is an preview of UjoProperty list of the one Ujo object include values.
| Field Summary | |
|---|---|
protected Ujo |
content
|
static Property<UjoPropertyRow,java.lang.Object> |
P_DEFAULT
Default Value |
static Property<UjoPropertyRow,java.lang.Integer> |
P_INDEX
Index of property |
static Property<UjoPropertyRow,java.lang.String> |
P_NAME
Name of property |
static Property<UjoPropertyRow,java.lang.String> |
P_TEXT
Text Value |
static Property<UjoPropertyRow,java.lang.Class> |
P_TYPE
Type of property |
static Property<UjoPropertyRow,java.lang.String> |
P_TYPENAME
Class name without packages |
static Property<UjoPropertyRow,java.lang.Object> |
P_USER1
A user column can be used in table renderer for any purpose |
static Property<UjoPropertyRow,java.lang.Object> |
P_USER2
A user column can be used in table renderer for any purpose |
static Property<UjoPropertyRow,java.lang.Object> |
P_VALUE
Value |
protected UjoProperty |
property
|
| Fields inherited from class org.ujoframework.implementation.map.MapUjoExt |
|---|
data |
| Constructor Summary | |
|---|---|
UjoPropertyRow(Ujo content,
UjoProperty property)
|
|
| Method Summary | |
|---|---|
UjoProperty |
getProperty()
Returns an assigned property (a parameter e.g.) |
java.lang.Object |
readValue(UjoProperty aProperty)
Read Value |
java.lang.String |
toString()
Property name + value |
void |
writeValue(UjoProperty aProperty,
java.lang.Object value)
Write value |
void |
writeValueString(UjoProperty aProperty,
java.lang.String value,
java.lang.Class subtype,
UjoAction action)
Write a text value. |
| Methods inherited from class org.ujoframework.implementation.map.MapUjoExt |
|---|
newListProperty, newProperty, newProperty, newPropertyList |
| Methods inherited from class org.ujoframework.extensions.AbstractUjoExt |
|---|
add, clone, copyTo, copyTo, createPropertyList, equals, findProperty, get, get, get, get, getItemCount, getText, isDefault, list, remove, remove, set, set, set, set, setText |
| Methods inherited from class org.ujoframework.extensions.AbstractUjo |
|---|
equals, init, init, readAuthorization, readProperties, readUjoManager, readValueString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ujoframework.Ujo |
|---|
readAuthorization, readProperties |
| Field Detail |
|---|
public static final Property<UjoPropertyRow,java.lang.Integer> P_INDEX
public static final Property<UjoPropertyRow,java.lang.String> P_NAME
public static final Property<UjoPropertyRow,java.lang.Class> P_TYPE
public static final Property<UjoPropertyRow,java.lang.String> P_TYPENAME
public static final Property<UjoPropertyRow,java.lang.Object> P_VALUE
public static final Property<UjoPropertyRow,java.lang.String> P_TEXT
public static final Property<UjoPropertyRow,java.lang.Object> P_DEFAULT
public static final Property<UjoPropertyRow,java.lang.Object> P_USER1
public static final Property<UjoPropertyRow,java.lang.Object> P_USER2
protected final Ujo content
protected final UjoProperty property
| Constructor Detail |
|---|
public UjoPropertyRow(Ujo content,
UjoProperty property)
| Method Detail |
|---|
public void writeValue(UjoProperty aProperty,
java.lang.Object value)
writeValue in interface UjowriteValue in class MapUjoExt<UjoPropertyRow>aProperty - Property must be a direct type only!Property.setValue(Ujo,Object)
public void writeValueString(UjoProperty aProperty,
java.lang.String value,
java.lang.Class subtype,
UjoAction action)
writeValueString in interface UjoTextablewriteValueString in class AbstractUjoaProperty - A direct property only. See a method UjoProperty.isDirect().value - String valuesubtype - Type can be a subtype of a Property.type. If type is null, then a property.type is used.action - A context of the action.
The action must not be null, however there is allowed to use a dummy constant UjoAction.DUMMY .public java.lang.Object readValue(UjoProperty aProperty)
readValue in interface UjoreadValue in class MapUjoExt<UjoPropertyRow>aProperty - Property must be a direct type only!
Property.getValue(Ujo)public final UjoProperty getProperty()
public java.lang.String toString()
toString in class AbstractUjo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||