com.orchestranetworks.ui
Interface UILabelRendererForHierarchy

All Superinterfaces:
UIRenderer

public interface UILabelRendererForHierarchy
extends UIRenderer

Interface for presenting a hierarchy node inside a hierarchy tree.

Schema definition

A specific user interface label renderer component may be associated to any table to render its occurrences. The component must be declared under the element <osd:table>, 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(UILabelRendererForHierarchyContext context)
          Writes a user-friendly label to the specified context.
 

Method Detail

displayLabel

public void displayLabel(UILabelRendererForHierarchyContext 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.