Package com.jalios.jcms.widget
Class WikiToolbar
- java.lang.Object
 - 
- com.jalios.jcms.widget.WikiToolbar
 
 
- 
public class WikiToolbar extends java.lang.ObjectDeprecated.wiki editor is no longer maintained, port your toolbar customization to Wysiwyg editor 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDISABLEDDeprecated.static java.lang.StringENABLEDDeprecated.protected booleanincludeJSDeprecated.protected int[]itemsDeprecated.protected MemberloggedMemberDeprecated.static java.lang.StringPRINTWIKITBDeprecated.protected java.util.Set<java.lang.String>shortToolbarItemsDeprecated.protected java.lang.String[]tbLabelsDeprecated.protected static java.lang.String[]TOOLBAR_CSSDeprecated.Suffix of css class for toolbar icons : - legacy sprite declared in 'jalios-form-wiki-toolbar.less', through classes 'wiki-{Name}', - jalios icons declared in 'jcms.prop', through icon named "icon.wiki-"protected static int[]TOOLBAR_ITEM_FULLDeprecated.protected static int[]TOOLBAR_ITEM_PARTDeprecated.protected static java.lang.StringTOOLBAR_JAVASCRIPTDeprecated.protected static java.lang.String[]TOOLBAR_NAMESDeprecated.Suffix of javascript method named 'run{Name}', declared in 'wikitoolbar.js'protected java.lang.StringuserLangDeprecated. 
- 
Constructor Summary
Constructors Constructor Description WikiToolbar(JcmsContext ctx)Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidinitJavaScript()Deprecated.protected voidinitToolbarLabels()Deprecated.All the labels for toolbar itemsjava.lang.StringprintWikiToolbar()Deprecated.Returns a String representing the wiki toolbarjava.lang.StringprintWikiToolbar(int[] items)Deprecated.Returns a String representing the wiki toolbarprotected voidprintWikiToolbarItem(java.lang.StringBuffer sb, int index)Deprecated. 
 - 
 
- 
- 
Field Detail
- 
TOOLBAR_JAVASCRIPT
protected static final java.lang.String TOOLBAR_JAVASCRIPT
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
ENABLED
public static final java.lang.String ENABLED
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
DISABLED
public static final java.lang.String DISABLED
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
PRINTWIKITB
public static final java.lang.String PRINTWIKITB
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
TOOLBAR_NAMES
protected static java.lang.String[] TOOLBAR_NAMES
Deprecated.Suffix of javascript method named 'run{Name}', declared in 'wikitoolbar.js' 
- 
TOOLBAR_CSS
protected static java.lang.String[] TOOLBAR_CSS
Deprecated.Suffix of css class for toolbar icons : - legacy sprite declared in 'jalios-form-wiki-toolbar.less', through classes 'wiki-{Name}', - jalios icons declared in 'jcms.prop', through icon named "icon.wiki-" 
- 
TOOLBAR_ITEM_FULL
protected static int[] TOOLBAR_ITEM_FULL
Deprecated. 
- 
TOOLBAR_ITEM_PART
protected static int[] TOOLBAR_ITEM_PART
Deprecated. 
- 
tbLabels
protected java.lang.String[] tbLabels
Deprecated. 
- 
userLang
protected java.lang.String userLang
Deprecated. 
- 
loggedMember
protected Member loggedMember
Deprecated. 
- 
items
protected int[] items
Deprecated. 
- 
includeJS
protected boolean includeJS
Deprecated. 
- 
shortToolbarItems
protected java.util.Set<java.lang.String> shortToolbarItems
Deprecated. 
 - 
 
- 
Constructor Detail
- 
WikiToolbar
public WikiToolbar(JcmsContext ctx)
Deprecated. 
 - 
 
- 
Method Detail
- 
initToolbarLabels
protected void initToolbarLabels()
Deprecated.All the labels for toolbar items 
- 
initJavaScript
protected void initJavaScript()
Deprecated. 
- 
printWikiToolbar
public java.lang.String printWikiToolbar()
Deprecated.Returns a String representing the wiki toolbar- Returns:
 - String the wikitoolbar
 
 
- 
printWikiToolbar
public java.lang.String printWikiToolbar(int[] items)
Deprecated.Returns a String representing the wiki toolbar- Parameters:
 items- items to print- Returns:
 - a String representing the wiki toolbar
 
 
- 
printWikiToolbarItem
protected void printWikiToolbarItem(java.lang.StringBuffer sb, int index)Deprecated. 
 - 
 
 -