Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.memoire.editor
Class EditorButextarea  view EditorButextarea download EditorButextarea.java

java.lang.Object
  extended bycom.memoire.editor.EditorButextarea
All Implemented Interfaces:
EditorInterface, java.lang.Runnable

public class EditorButextarea
extends java.lang.Object
implements EditorInterface


Field Summary
private  java.lang.String syntax_
           
private  com.memoire.bu.BuTextArea ta_
           
 
Constructor Summary
EditorButextarea()
           
 
Method Summary
 void act(java.lang.String _action)
          Do the action.
 boolean can(java.lang.String _action)
          Returns true if action is available.
 void exit()
          Exits the editor (if possible)
 java.lang.Object getGUI()
          Returns the GUI if available.
 java.lang.Object getIcon()
          Returns an Icon.
 java.lang.String getLongDescription()
          Returns a long description.
 java.lang.String getName()
          Returns the common name, for example: "Emacs", "JExt", ...
 java.lang.String getShortDescription()
          Returns a short description, for tooltips.
 java.lang.String getSyntax()
           
 java.lang.String getText()
           
 boolean isEditable()
           
static void main(java.lang.String[] args)
           
 boolean needScrollBars()
          Returns true if scrollbars should be added.
 void run()
          Runs the editor.
 void setEditable(boolean _editable)
          Set/is editable.
 void setSyntax(java.lang.String _syntax)
          Set/get the syntax.
 void setText(java.lang.String _text)
          Loads some files.
 void start()
          Initialises the editor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ta_

private com.memoire.bu.BuTextArea ta_

syntax_

private java.lang.String syntax_
Constructor Detail

EditorButextarea

public EditorButextarea()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: EditorInterface
Returns the common name, for example: "Emacs", "JExt", ...

Specified by:
getName in interface EditorInterface

getShortDescription

public java.lang.String getShortDescription()
Description copied from interface: EditorInterface
Returns a short description, for tooltips.

Specified by:
getShortDescription in interface EditorInterface

getLongDescription

public java.lang.String getLongDescription()
Description copied from interface: EditorInterface
Returns a long description.

Specified by:
getLongDescription in interface EditorInterface

getIcon

public java.lang.Object getIcon()
Description copied from interface: EditorInterface
Returns an Icon.

Specified by:
getIcon in interface EditorInterface

can

public boolean can(java.lang.String _action)
Description copied from interface: EditorInterface
Returns true if action is available.

Specified by:
can in interface EditorInterface

act

public void act(java.lang.String _action)
Description copied from interface: EditorInterface
Do the action.

Specified by:
act in interface EditorInterface

needScrollBars

public boolean needScrollBars()
Description copied from interface: EditorInterface
Returns true if scrollbars should be added.

Specified by:
needScrollBars in interface EditorInterface

getGUI

public java.lang.Object getGUI()
Description copied from interface: EditorInterface
Returns the GUI if available.

Specified by:
getGUI in interface EditorInterface

start

public void start()
Description copied from interface: EditorInterface
Initialises the editor.

Specified by:
start in interface EditorInterface

run

public void run()
Description copied from interface: EditorInterface
Runs the editor.

Specified by:
run in interface EditorInterface

exit

public void exit()
Description copied from interface: EditorInterface
Exits the editor (if possible)

Specified by:
exit in interface EditorInterface

setText

public void setText(java.lang.String _text)
Loads some files.

Specified by:
setText in interface EditorInterface

getText

public java.lang.String getText()
Specified by:
getText in interface EditorInterface

setSyntax

public void setSyntax(java.lang.String _syntax)
Description copied from interface: EditorInterface
Set/get the syntax.

Specified by:
setSyntax in interface EditorInterface

getSyntax

public java.lang.String getSyntax()
Specified by:
getSyntax in interface EditorInterface

setEditable

public void setEditable(boolean _editable)
Description copied from interface: EditorInterface
Set/is editable.

Specified by:
setEditable in interface EditorInterface

isEditable

public boolean isEditable()
Specified by:
isEditable in interface EditorInterface

main

public static void main(java.lang.String[] args)