|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
zeus.generator.task.rulebase.RuleUI
| Nested Class Summary | |
(package private) class |
RuleUI.RuleToolBar
|
| Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
private javax.swing.JButton |
actionBtn
|
private javax.swing.JComboBox |
actionList
|
protected java.lang.String[] |
booleanWds
|
protected javax.swing.text.SimpleAttributeSet |
boolFmt
|
private javax.swing.JPanel |
contentPane
|
protected OntologyDb |
db
|
protected FactPanel |
factPanel
|
protected javax.swing.JMenuItem |
fexit
|
private javax.swing.JFrame |
frame
|
protected javax.swing.JMenuItem |
fsave
|
private javax.swing.JButton |
functionBtn
|
private javax.swing.JComboBox |
functionList
|
private int |
HEIGHT
|
protected ReteKB |
kb
|
private int |
LHEIGHT
|
private javax.swing.JTextArea |
lhsArea
|
protected boolean |
lhsFocus
|
private javax.swing.JScrollPane |
lhsSP
|
private int |
LWIDTH
|
protected javax.swing.text.SimpleAttributeSet |
methFmt
|
protected java.util.Vector |
methodValues
|
protected javax.swing.text.SimpleAttributeSet |
plainFmt
|
protected java.lang.String[] |
precedenceWds
|
private javax.swing.JButton |
predicateBtn
|
private javax.swing.JComboBox |
predicateList
|
protected javax.swing.text.SimpleAttributeSet |
preFmt
|
private javax.swing.JTextArea |
rhsArea
|
protected boolean |
rhsFocus
|
private javax.swing.JScrollPane |
rhsSP
|
private RuleModel |
ruleBuffer
|
private javax.swing.JScrollPane |
ruleSP
|
private javax.swing.JTable |
ruleTable
|
private int |
WIDTH
|
| Fields inherited from class javax.swing.JPanel |
|
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, PROPERTIES, SOMEBITS |
| Constructor Summary | |
RuleUI(OntologyDb db,
Editor editor,
ReteKB kb,
java.util.Vector methodValues)
|
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
(package private) void |
appendTextTo(javax.swing.JTextArea textarea,
java.lang.String text,
boolean keyword)
|
(package private) void |
appendTextTo(java.lang.String text)
|
(package private) void |
createFrame()
|
void |
focusGained(java.awt.event.FocusEvent e)
|
void |
focusLost(java.awt.event.FocusEvent e)
|
(package private) javax.swing.JPanel |
getIfThenPanel()
|
(package private) javax.swing.JTextArea |
getLastTextAreaWithFocus()
|
(package private) javax.swing.JPanel |
getUtilitiesPanel()
|
(package private) void |
insert(javax.swing.text.Document doc,
java.lang.String text,
int pos)
|
private javax.swing.border.TitledBorder |
makeBorder(java.lang.String title)
|
(package private) void |
printRule(Rule rule,
java.io.PrintWriter out)
|
void |
save()
|
(package private) void |
setFocus(javax.swing.JTextArea textarea)
|
(package private) void |
setTextFormats()
|
void |
valueChanged(javax.swing.event.ListSelectionEvent e)
|
(package private) void |
writeRulesToFile()
|
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private javax.swing.JPanel contentPane
private javax.swing.JTable ruleTable
private javax.swing.JScrollPane ruleSP
private javax.swing.JScrollPane lhsSP
private javax.swing.JScrollPane rhsSP
private javax.swing.JTextArea lhsArea
private javax.swing.JTextArea rhsArea
private RuleModel ruleBuffer
private javax.swing.JComboBox predicateList
private javax.swing.JComboBox actionList
private javax.swing.JComboBox functionList
private javax.swing.JButton predicateBtn
private javax.swing.JButton actionBtn
private javax.swing.JButton functionBtn
protected FactPanel factPanel
protected boolean lhsFocus
protected boolean rhsFocus
protected javax.swing.JMenuItem fsave
protected javax.swing.JMenuItem fexit
protected OntologyDb db
protected ReteKB kb
private final int WIDTH
private final int HEIGHT
private final int LWIDTH
private final int LHEIGHT
private javax.swing.JFrame frame
protected java.lang.String[] precedenceWds
protected java.lang.String[] booleanWds
protected java.util.Vector methodValues
protected javax.swing.text.SimpleAttributeSet boolFmt
protected javax.swing.text.SimpleAttributeSet preFmt
protected javax.swing.text.SimpleAttributeSet methFmt
protected javax.swing.text.SimpleAttributeSet plainFmt
| Constructor Detail |
public RuleUI(OntologyDb db,
Editor editor,
ReteKB kb,
java.util.Vector methodValues)
| Method Detail |
public void save()
void setTextFormats()
void createFrame()
javax.swing.JPanel getUtilitiesPanel()
javax.swing.JTextArea getLastTextAreaWithFocus()
void setFocus(javax.swing.JTextArea textarea)
void appendTextTo(javax.swing.JTextArea textarea,
java.lang.String text,
boolean keyword)
void insert(javax.swing.text.Document doc,
java.lang.String text,
int pos)
void appendTextTo(java.lang.String text)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void focusGained(java.awt.event.FocusEvent e)
focusGained in interface java.awt.event.FocusListenerpublic void focusLost(java.awt.event.FocusEvent e)
focusLost in interface java.awt.event.FocusListenerjavax.swing.JPanel getIfThenPanel()
private javax.swing.border.TitledBorder makeBorder(java.lang.String title)
void writeRulesToFile()
void printRule(Rule rule,
java.io.PrintWriter out)
public void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged in interface javax.swing.event.ListSelectionListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||