|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jcms.widget.WikiToolbar
public class WikiToolbar
Field Summary | |
---|---|
protected String |
contextPath
|
protected String |
imagemap
|
protected static int |
IMAGEMAP_TOOLBAR_LENGTH
|
protected boolean |
includeJS
|
protected boolean |
isImageMap
|
protected boolean |
isLargeBar
|
protected boolean |
isWikiMap
|
protected int[] |
items
|
protected Member |
loggedMember
|
protected int |
offset1
|
protected int |
offset2
|
protected String |
toolbar
|
protected static int[][] |
TOOLBAR_COORDINATE
|
protected static int[] |
TOOLBAR_ITEM_FULL
|
protected static int[] |
TOOLBAR_ITEM_HELP
|
protected static int[] |
TOOLBAR_ITEM_SHORT
|
protected static String |
TOOLBAR_JAVASCRIPT
|
protected static String[] |
TOOLBAR_NAMES
|
protected String[] |
toolbarLabels
|
protected String |
userLang
|
Constructor Summary | |
---|---|
WikiToolbar(JcmsContext ctx)
|
Method Summary | |
---|---|
protected void |
getCoordinate(int item,
int offset,
StringBuffer sb)
Print the coordinate for a given item. |
protected void |
getWikiArea(int item,
int offset,
StringBuffer sb)
Print the WikiArea I18N for a given items. |
protected void |
initToolbarLabels()
All the labels for toolbar items |
protected void |
printImageMapMap(StringBuffer sb)
Returns a String representing the Map for all wiki toolbars |
String |
printImageMapToolbar()
Returns a String representing the imagemap toolbar |
protected void |
printWikiMap(StringBuffer sb)
Returns a String representing the Map for all wiki toolbars |
String |
printWikiToolbar()
Returns a String representing the wiki toolbar |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String TOOLBAR_JAVASCRIPT
protected static final int[][] TOOLBAR_COORDINATE
protected static String[] TOOLBAR_NAMES
protected static int[] TOOLBAR_ITEM_FULL
protected static int[] TOOLBAR_ITEM_SHORT
protected static int[] TOOLBAR_ITEM_HELP
protected static final int IMAGEMAP_TOOLBAR_LENGTH
protected String[] toolbarLabels
protected String userLang
protected String contextPath
protected String toolbar
protected String imagemap
protected Member loggedMember
protected int[] items
protected int offset1
protected int offset2
protected boolean isLargeBar
protected boolean includeJS
protected boolean isWikiMap
protected boolean isImageMap
Constructor Detail |
---|
public WikiToolbar(JcmsContext ctx)
Method Detail |
---|
protected void initToolbarLabels()
public String printWikiToolbar()
protected void printWikiMap(StringBuffer sb)
public String printImageMapToolbar()
protected void printImageMapMap(StringBuffer sb)
protected void getWikiArea(int item, int offset, StringBuffer sb)
item
- the item indexoffset
- the offset to apply for the given toolbarsb
- the StringBuffer to fillprotected void getCoordinate(int item, int offset, StringBuffer sb)
item
- the item indexoffset
- the offset to apply for the given toolbarsb
- the StringBuffer to fill
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |