public interface IlpTableAdapterCustomization extends IlpAdapterCustomization
IlpTableListAdapter
.
The adapter can be configured like this in a CSS file:
Adapter { filter : @+myFilter; } Subobject#myFilter { class: "myFilterClass"; /* Other Bean properties could be added here. */ }
Modifier and Type | Method and Description |
---|---|
String |
getAcceptedClass()
Returns the class of business objects accepted by this adapter.
|
IlpRepresentationObjectFactory |
getRepresentationObjectFactory()
Returns the representation object factory used by this adapter.
|
getExcludedClasses, getFilter
IlpRepresentationObjectFactory getRepresentationObjectFactory()
Note: This property can be customized using a CSS, as illustrated below:
Adapter { representationObjectFactory: @+factoryDef; } Subobject#factoryDef { class: ...; }
String getAcceptedClass()
Representation objects are created only if the corresponding business object is of the same class (or subclass) as the accepted class, and if it is accepted by the adapter filter (if there is one).
Note: When this adapter is connected to a table component, the accepted class will be related to the table model (the attributes of the accepted class are mapped to columns in the table). Changing the accepted class will not update the columns in the table model immediately; the change will be made in a different thread (the AWT Event Dispatch Thread).
Note: This property can be customized using a CSS, as illustrated below:
Adapter { acceptedClass: "business class name"; }
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.