ilog.cpl.table.css
Interface IlpTableAdapterCustomization

All Superinterfaces:
IlpAdapterCustomization

public interface IlpTableAdapterCustomization
extends IlpAdapterCustomization

This interface externalizes the properties that can be configured with cascading style sheets for an 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. */
 }
 

Since:
JViews 8.0

Method Summary
 String getAcceptedClass()
          Returns the class of business objects accepted by this adapter.
 IlpRepresentationObjectFactory getRepresentationObjectFactory()
          Returns the representation object factory used by this adapter.
 
Methods inherited from interface ilog.cpl.datasource.css.IlpAdapterCustomization
getExcludedClasses, getFilter
 

Method Detail

getRepresentationObjectFactory

IlpRepresentationObjectFactory getRepresentationObjectFactory()
Returns the representation object factory used by this adapter.

Note: This property can be customized using a CSS, as illustrated below:

 Adapter {
   representationObjectFactory: @+factoryDef;
 }
 Subobject#factoryDef {
   class: ...;
 }
 


getAcceptedClass

String getAcceptedClass()
Returns the class of business objects accepted by this adapter.

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 © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.