org.xwiki.gwt.wysiwyg.client.plugin.separator
Class ToolBarSeparator

java.lang.Object
  extended by org.xwiki.gwt.wysiwyg.client.plugin.separator.AbstractSeparator
      extended by org.xwiki.gwt.wysiwyg.client.plugin.separator.ToolBarSeparator
All Implemented Interfaces:
UIExtension

public class ToolBarSeparator
extends AbstractSeparator

User interface extension that provides ways of separating tool bar entries. We currently support a vertical bar separator and a new line separator.

Version:
$Id: ff53cc4dc59222d2867e1e20e6ef7fc596767d74 $

Field Summary
static String LINE_BREAK
          The string used in configurations to split the tool bar in multiple lines.
static 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
 String[] getFeatures()
          
 com.google.gwt.user.client.ui.UIObject getUIObject(String feature)
          
 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

VERTICAL_BAR

public static final String VERTICAL_BAR
The string used in configurations to place a vertical bar on the tool bar.

See Also:
Constant Field Values

LINE_BREAK

public static final String LINE_BREAK
The string used in configurations to split the tool bar in multiple lines.

See Also:
Constant Field Values
Constructor Detail

ToolBarSeparator

public ToolBarSeparator()
Creates a new tool bar separator.

Method Detail

getFeatures

public String[] getFeatures()

See Also:
UIExtension.getFeatures()

getUIObject

public com.google.gwt.user.client.ui.UIObject getUIObject(String feature)

See Also:
UIExtension.getUIObject(String)

newVerticalBar

public com.google.gwt.user.client.ui.Widget newVerticalBar()
Returns:
a new vertical bar to separate the widgets placed on the tool bar.

newLineBreak

public com.google.gwt.user.client.ui.Widget newLineBreak()
Returns:
a new line break to split the tool bar in multiple lines.


Copyright © 2004-2013 XWiki. All Rights Reserved.