com.sapportals.htmlb

Class ItemList

java.lang.Object
  extended bycom.sapportals.htmlb.Component
      extended bycom.sapportals.htmlb.Container
          extended bycom.sapportals.htmlb.ItemList

public class ItemList
extends Container

Title: Basic Item List Control (Bullet List, Ordered List) Description: Encapsulates HTML business Code for Standard Item Lists (Bullet List and Numbered List) Copyright: Copyright (c) 2001 Company: SAP AG


Field Summary
static String UI_ID
           
static int VAR_BEGIN
           
static int VAR_END
           
static int VAR_ITEMBEGIN
           
static int VAR_ITEMEND
           
static int VAR_NEXT
           
 
Fields inherited from class com.sapportals.htmlb.Container
elements
 
Constructor Summary
ItemList()
           
ItemList(boolean ordered)
           
 
Method Summary
 void addComponent(Component comp, String bulletUri)
           
 void addComponentWithStyle(Component comp, String bulletUri)
           
 String getBulletUri()
           
 String getComponentBulletUri(Object comp)
           
 String getComponentStyle(Object comp)
           
 String getUI()
          get a identification String for the renderer that is unique across all supported components.
 boolean isOrdered()
          Get order state of ItemList
 void setBulletUri(String uri)
           
 void setOrdered(boolean ordered)
          Set order state of ItemList To get current state of ItemList use: isOrdered
 
Methods inherited from class com.sapportals.htmlb.Container
addComponent, addRawText, addText, getChildCount, iterator, preRender, removeComponent, render
 
Methods inherited from class com.sapportals.htmlb.Component
getEncodedIdForForm, getId, getParent, initFromPageContext, initFromShortId, initializeFromId, isJsObjectNeeded, render, renderAsString, requiresForm, setId, setJsObjectNeeded, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UI_ID

public static final String UI_ID
See Also:
Constant Field Values

VAR_BEGIN

public static final int VAR_BEGIN
See Also:
Constant Field Values

VAR_ITEMBEGIN

public static final int VAR_ITEMBEGIN
See Also:
Constant Field Values

VAR_NEXT

public static final int VAR_NEXT
See Also:
Constant Field Values

VAR_ITEMEND

public static final int VAR_ITEMEND
See Also:
Constant Field Values

VAR_END

public static final int VAR_END
See Also:
Constant Field Values
Constructor Detail

ItemList

public ItemList()

ItemList

public ItemList(boolean ordered)
Method Detail

isOrdered

public boolean isOrdered()
Get order state of ItemList

Returns:
true if ordered ItemList, else false

getUI

public String getUI()
Description copied from class: Component
get a identification String for the renderer that is unique across all supported components. E.g. you could simply return the class name of the component class. The reason for using a separate method and not some internal reflection method is that you can more easily extend the functionality or your Component class without having to rewrite the view class.

Specified by:
getUI in class Component
Returns:
a unique identification string for this Component

setOrdered

public void setOrdered(boolean ordered)
Set order state of ItemList To get current state of ItemList use: isOrdered


setBulletUri

public void setBulletUri(String uri)

getBulletUri

public String getBulletUri()

addComponent

public void addComponent(Component comp,
                         String bulletUri)

addComponentWithStyle

public void addComponentWithStyle(Component comp,
                                  String bulletUri)

getComponentBulletUri

public String getComponentBulletUri(Object comp)

getComponentStyle

public String getComponentStyle(Object comp)


Copyright 2006 SAP AG Complete Copyright Notice