org.xwiki.gwt.wysiwyg.client.plugin.style
Class StyleDescriptor

java.lang.Object
  extended by org.xwiki.gwt.wysiwyg.client.plugin.style.StyleDescriptor

public class StyleDescriptor
extends Object

Describes a CSS style (class name).

Version:
$Id: 6a52a4659d37ebc92da627c6549dea9acc9bbb84 $

Constructor Summary
StyleDescriptor(String name, String label, boolean inline)
          Creates a new style descriptor.
 
Method Summary
 String getLabel()
           
 String getName()
           
 boolean isInline()
           
 void setInline(boolean inline)
          Sets whether the style is in-line or not.
 void setLabel(String label)
          Sets the style label.
 void setName(String name)
          Sets the style name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleDescriptor

public StyleDescriptor(String name,
                       String label,
                       boolean inline)
Creates a new style descriptor.

Parameters:
name - the style name
label - the style label
inline - true if the style is in-line, false otherwise
Method Detail

getName

public String getName()
Returns:
the style name

setName

public void setName(String name)
Sets the style name.

Parameters:
name - the new style name

getLabel

public String getLabel()
Returns:
the style label

setLabel

public void setLabel(String label)
Sets the style label.

Parameters:
label - the new style label

isInline

public boolean isInline()
Returns:
whether the style is in-line or not

setInline

public void setInline(boolean inline)
Sets whether the style is in-line or not.

Parameters:
inline - true to make the style in-line, false otherwise


Copyright © 2004–2014 XWiki. All rights reserved.