artofillusion.script
Class ScriptEditor

java.lang.Object
  extended by buoy.event.EventSource
      extended by buoy.widget.Widget
          extended by buoy.widget.TextWidget
              extended by buoy.widget.BTextArea
                  extended by artofillusion.script.ScriptEditor

public class ScriptEditor
extends buoy.widget.BTextArea

This class presents a user interface for editing a script.


Nested Class Summary
 
Nested classes/interfaces inherited from class buoy.widget.BTextArea
buoy.widget.BTextArea.WrapStyle
 
Field Summary
 
Fields inherited from class buoy.widget.BTextArea
WRAP_CHARACTER, WRAP_NONE, WRAP_WORD
 
Constructor Summary
ScriptEditor(java.lang.String text)
          Create a ScriptEditor.
 
Method Summary
 buoy.widget.WidgetContainer createContainer()
          Create a standard WidgetContainer for this editor to go in, which provides scroll bars and draws a border around it.
 
Methods inherited from class buoy.widget.BTextArea
append, getColumns, getComponent, getLineCount, getMinimumSize, getRows, getTabSize, getWrapStyle, insert, replaceRange, setColumns, setRows, setTabSize, setWrapStyle
 
Methods inherited from class buoy.widget.TextWidget
getCaretPosition, getLength, getSelectedText, getSelectionEnd, getSelectionStart, getText, isEditable, setCaretPosition, setEditable, setSelectionEnd, setSelectionStart, setText
 
Methods inherited from class buoy.widget.Widget
addEventLink, dispatchEvent, getBackground, getBounds, getCursor, getFont, getMaximumSize, getName, getParent, getPreferredSize, hasFocus, isEnabled, isFocusable, isVisible, repaint, requestFocus, setBackground, setCursor, setEnabled, setFocusable, setFont, setName, setVisible
 
Methods inherited from class buoy.event.EventSource
addEventLink, addEventLink, removeEventLink
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptEditor

public ScriptEditor(java.lang.String text)
Create a ScriptEditor.

Parameters:
text - the text of the script to edit
Method Detail

createContainer

public buoy.widget.WidgetContainer createContainer()
Create a standard WidgetContainer for this editor to go in, which provides scroll bars and draws a border around it.



Copyright © 1999-2008 by Peter Eastman.