com.ecyrd.jspwiki.ui
Class Editor

java.lang.Object
  extended by com.ecyrd.jspwiki.ui.Editor

public class Editor
extends Object

Describes an editor.

Since:
2.4.12
Author:
Chuck Smith

Constructor Summary
Editor(WikiContext wikiContext, String editorName)
           
 
Method Summary
 String getName()
           
 String getURL()
          Deprecated.  
 String isSelected()
          Convinience method which returns XHTML for an option element.
 String isSelected(String ifSelected)
           
 String isSelected(String ifSelected, String ifNotSelected)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Editor

public Editor(WikiContext wikiContext,
              String editorName)
Method Detail

getName

public String getName()

getURL

public String getURL()
Deprecated. 


isSelected

public String isSelected()
Convinience method which returns XHTML for an option element.

Returns:
"selected='selected'", if this editor is selected.

isSelected

public String isSelected(String ifSelected)

isSelected

public String isSelected(String ifSelected,
                         String ifNotSelected)

toString

public String toString()
Overrides:
toString in class Object