Class WikiToolbar


  • public class WikiToolbar
    extends java.lang.Object
    Deprecated.
    wiki editor is no longer maintained, port your toolbar customization to Wysiwyg editor
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DISABLED
      Deprecated.
       
      static java.lang.String ENABLED
      Deprecated.
       
      protected boolean includeJS
      Deprecated.
       
      protected int[] items
      Deprecated.
       
      protected Member loggedMember
      Deprecated.
       
      static java.lang.String PRINTWIKITB
      Deprecated.
       
      protected java.util.Set<java.lang.String> shortToolbarItems
      Deprecated.
       
      protected java.lang.String[] tbLabels
      Deprecated.
       
      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-"
      protected static int[] TOOLBAR_ITEM_FULL
      Deprecated.
       
      protected static int[] TOOLBAR_ITEM_PART
      Deprecated.
       
      protected static java.lang.String TOOLBAR_JAVASCRIPT
      Deprecated.
       
      protected static java.lang.String[] TOOLBAR_NAMES
      Deprecated.
      Suffix of javascript method named 'run{Name}', declared in 'wikitoolbar.js'
      protected java.lang.String userLang
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected void initJavaScript()
      Deprecated.
       
      protected void initToolbarLabels()
      Deprecated.
      All the labels for toolbar items
      java.lang.String printWikiToolbar()
      Deprecated.
      Returns a String representing the wiki toolbar
      java.lang.String printWikiToolbar​(int[] items)
      Deprecated.
      Returns a String representing the wiki toolbar
      protected void printWikiToolbarItem​(java.lang.StringBuffer sb, int index)
      Deprecated.
       
      • 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 java.lang.String TOOLBAR_JAVASCRIPT
        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.