com.orchestranetworks.ui
Interface UILabelRenderer

All Superinterfaces:
UIRenderer

public interface UILabelRenderer
extends UIRenderer

Interface for presenting an occurrence inside a table or in a foreign key constraint.

Schema definition

A specific user interface label renderer component may be associated to any table to render its occurrences or a foreign key constraint. The component must be declared under the element <osd:table> or <osd:tableRef>, in association or not with standard <osd:defaultLabel> elements. For example:

 <xs:annotation>
   <xs:appinfo>
     <osd:table>
       <primaryKeys>/AssortmentID</primaryKeys>
       <defaultLabel>Assortment : ${./AssortmentID}</defaultLabel>
       <defaultLabel xml:lang="fr-FR">Assortiment : ${./AssortmentID}</defaultLabel>
       <defaultLabel xml:lang="en-US">Assortment : ${./AssortmentID}</defaultLabel>
       <defaultLabel osd:class="com.foo.AssortmentLabelRenderer"/>
     <osd:table>
   <xs:appinfo>
 </xs:annotation>
where com.foo.AssortmentLabelRenderer is the fully qualified name of a class implementing this interface.


Method Summary
 void displayLabel(UILabelRendererContext context)
          Writes a user-friendly label to the specified context.
 

Method Detail

displayLabel

public void displayLabel(UILabelRendererContext context)
Writes a user-friendly label to the specified context.

Multi-threading

The implementation of this method must support the execution of multiple concurrent threads.



(report a bug)
EBX.Platform 4.8.4 [0722]
Copyright Orchestra Networks 2000-2010. All rights reserved.