|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.wysiwyg.client.plugin.separator.AbstractSeparator
org.xwiki.gwt.wysiwyg.client.plugin.separator.ToolBarSeparator
public class ToolBarSeparator
User interface extension that provides ways of separating tool bar entries. We currently support a vertical bar separator and a new line separator.
| Field Summary | |
|---|---|
static java.lang.String |
LINE_BREAK
The string used in configurations to split the tool bar in multiple lines. |
static java.lang.String |
VERTICAL_BAR
The string used in configurations to place a vertical bar on the tool bar. |
| Constructor Summary | |
|---|---|
ToolBarSeparator()
Creates a new tool bar separator. |
|
| Method Summary | |
|---|---|
java.lang.String[] |
getFeatures()
Examples of features are: bold, justifyright and macro. |
com.google.gwt.user.client.ui.UIObject |
getUIObject(java.lang.String feature)
It can be a button, a menu item, a label or any other UIObject-derived instance. |
com.google.gwt.user.client.ui.Widget |
newLineBreak()
|
com.google.gwt.user.client.ui.Widget |
newVerticalBar()
|
| Methods inherited from class org.xwiki.gwt.wysiwyg.client.plugin.separator.AbstractSeparator |
|---|
getRole, isEnabled, setEnabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String VERTICAL_BAR
public static final java.lang.String LINE_BREAK
| Constructor Detail |
|---|
public ToolBarSeparator()
| Method Detail |
|---|
public java.lang.String[] getFeatures()
UIExtension.getFeatures()public com.google.gwt.user.client.ui.UIObject getUIObject(java.lang.String feature)
UIObject-derived instance.
feature - One of the features provided by the editor's plug-ins and supported by the underlying text area.
UIExtension.getUIObject(String)public com.google.gwt.user.client.ui.Widget newVerticalBar()
public com.google.gwt.user.client.ui.Widget newLineBreak()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||