public class AbstractScriptBuilderPanel
extends rma.swing.EnabledJPanel
Title: General CWMS Framework
Description:
Copyright: Copyright (c) 2002
Company: RMA Inc.
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractScriptBuilderPanel.DraggableTree |
class |
AbstractScriptBuilderPanel.ScriptTextArea |
class |
AbstractScriptBuilderPanel.TreeBuilder |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_ATTR |
static java.lang.String |
FUNCTION_OPT |
static java.lang.String |
GET_STATE_VARIABLE_METHOD |
static java.lang.String |
GET_TIME_SERIES_METHOD |
static java.lang.String |
M |
static java.lang.String |
NEW_NODE |
static java.lang.String |
NODE_NAME_ATTR |
static java.lang.String |
NODE_TYPE_ATTR |
static java.lang.String |
OBJ_NAME_ATTR |
static java.lang.String |
TABLE_LOOKUP_OPT |
static java.lang.String |
TOOL_TIP_ATTR |
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW| Constructor and Description |
|---|
AbstractScriptBuilderPanel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addActionButton(javax.swing.Action action) |
void |
clearScriptText() |
ITreeBuilder |
createTreeBuilder(java.lang.String fileName) |
void |
discardAllEdits()
discard any undo/redo events and update the menus
|
void |
displayTreeHelp() |
javax.swing.Action |
getCopyAction() |
javax.swing.Action |
getCutAction() |
javax.swing.Action |
getPasteAction() |
javax.swing.Action |
getPrintAction() |
javax.swing.JPanel |
getRightPanel() |
java.lang.String |
getScriptText() |
org.fife.ui.rsyntaxtextarea.RSyntaxTextArea |
getScriptTextArea() |
javax.swing.Action |
getSelectAllAction() |
javax.swing.JTree |
getTree() |
boolean |
isModified() |
boolean |
loadTree(java.lang.String configFileName) |
static void |
main(java.lang.String[] args) |
void |
redo() |
boolean |
runScript() |
void |
setModified(boolean modified) |
void |
setScriptText(java.lang.String text) |
void |
setScriptTextReader(java.io.Reader reader) |
void |
setUseAnnotations(boolean useAnnotations) |
void |
undo() |
boolean |
usingAnnotations() |
getAccessibleContext, getUI, getUIClassID, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validateaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic static final java.lang.String GET_TIME_SERIES_METHOD
public static final java.lang.String GET_STATE_VARIABLE_METHOD
public static final java.lang.String FUNCTION_OPT
public static final java.lang.String TABLE_LOOKUP_OPT
public static final java.lang.String NEW_NODE
public static final java.lang.String NODE_TYPE_ATTR
public static final java.lang.String NODE_NAME_ATTR
public static final java.lang.String TOOL_TIP_ATTR
public static final java.lang.String CLASS_ATTR
public static final java.lang.String OBJ_NAME_ATTR
public static final java.lang.String M
public void addActionButton(javax.swing.Action action)
public org.fife.ui.rsyntaxtextarea.RSyntaxTextArea getScriptTextArea()
public javax.swing.JTree getTree()
public void undo()
public void redo()
public void discardAllEdits()
public void displayTreeHelp()
public void clearScriptText()
public void setScriptText(java.lang.String text)
public void setScriptTextReader(java.io.Reader reader)
public java.lang.String getScriptText()
public boolean loadTree(java.lang.String configFileName)
public boolean isModified()
public void setModified(boolean modified)
public ITreeBuilder createTreeBuilder(java.lang.String fileName)
public void setUseAnnotations(boolean useAnnotations)
public boolean usingAnnotations()
public javax.swing.Action getCopyAction()
public javax.swing.Action getCutAction()
public javax.swing.Action getPasteAction()
public javax.swing.Action getSelectAllAction()
public javax.swing.Action getPrintAction()
public javax.swing.JPanel getRightPanel()
public boolean runScript()
public static void main(java.lang.String[] args)