com.jalios.jcms.widget
Class WikiToolbar

java.lang.Object
  extended by com.jalios.jcms.widget.WikiToolbar

public class WikiToolbar
extends Object


Field Summary
static String DISABLED
           
static String ENABLED
           
protected  boolean includeJS
           
protected  boolean isLargeBar
           
protected  int[] items
           
protected  Member loggedMember
           
protected  String[] tbLabels
           
protected static String[] TOOLBAR_CSS
           
protected static int[] TOOLBAR_ITEM_FULL
           
protected static int[] TOOLBAR_ITEM_HELP
           
protected static int[] TOOLBAR_ITEM_MAP
           
protected static int[] TOOLBAR_ITEM_SHORT
           
protected static String TOOLBAR_JAVASCRIPT
           
protected static String[] TOOLBAR_NAMES
           
protected  String userLang
           
 
Constructor Summary
WikiToolbar(JcmsContext ctx)
           
 
Method Summary
protected  void initJavaScript()
           
protected  void initToolbarLabels()
          All the labels for toolbar items
 String printImageMapToolbar()
          Returns a String representing the imagemap toolbar
 String printWikiToolbar()
          Returns a String representing the wiki toolbar
 String printWikiToolbar(int[] items)
          Returns a String representing the wiki toolbar
protected  void printWikiToolbarItem(StringBuffer sb, int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOOLBAR_JAVASCRIPT

protected static final String TOOLBAR_JAVASCRIPT
See Also:
Constant Field Values

ENABLED

public static final String ENABLED
See Also:
Constant Field Values

DISABLED

public static final String DISABLED
See Also:
Constant Field Values

TOOLBAR_NAMES

protected static String[] TOOLBAR_NAMES

TOOLBAR_CSS

protected static String[] TOOLBAR_CSS

TOOLBAR_ITEM_FULL

protected static int[] TOOLBAR_ITEM_FULL

TOOLBAR_ITEM_SHORT

protected static int[] TOOLBAR_ITEM_SHORT

TOOLBAR_ITEM_HELP

protected static int[] TOOLBAR_ITEM_HELP

TOOLBAR_ITEM_MAP

protected static int[] TOOLBAR_ITEM_MAP

tbLabels

protected String[] tbLabels

userLang

protected String userLang

loggedMember

protected Member loggedMember

items

protected int[] items

isLargeBar

protected boolean isLargeBar

includeJS

protected boolean includeJS
Constructor Detail

WikiToolbar

public WikiToolbar(JcmsContext ctx)
Method Detail

initToolbarLabels

protected void initToolbarLabels()
All the labels for toolbar items


initJavaScript

protected void initJavaScript()

printWikiToolbar

public String printWikiToolbar()
Returns a String representing the wiki toolbar

Returns:
String the wikitoolbar

printWikiToolbar

public String printWikiToolbar(int[] items)
Returns a String representing the wiki toolbar

Parameters:
items - items to print
Returns:
a String representing the wiki toolbar

printWikiToolbarItem

protected void printWikiToolbarItem(StringBuffer sb,
                                    int index)

printImageMapToolbar

public String printImageMapToolbar()
Returns a String representing the imagemap toolbar

Returns:
String the imagemap toolbar


Copyright © 2001-2010 Jalios SA. All Rights Reserved.