infosapient.ui
Class InfoSapientLauncher

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Frame
                          |
                          +--javax.swing.JFrame
                                |
                                +--infosapient.ui.InfoSapientLauncher

public class InfoSapientLauncher
extends javax.swing.JFrame
implements InfoSapientFrameIF, Observer, java.io.Serializable

See Also:
Serialized Form

Inner Class Summary
protected  class InfoSapientLauncher.AboutInfoSapient
           
protected  class InfoSapientLauncher.allActionListener
           
protected  class InfoSapientLauncher.allCancelBtn_ClickedListener
           
protected  class InfoSapientLauncher.allCloseBtn_ClickedListener
           
protected  class InfoSapientLauncher.allWinListener
          INNER CLASSES FOR COMPONENT CONTROL
 class InfoSapientLauncher.NewKBHandler
           
 class InfoSapientLauncher.ReadKBHandler
           
 class InfoSapientLauncher.WriteAsKBHandler
           
protected  class InfoSapientLauncher.WriteKBHandler
           
 
Inner classes inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AWTTreeLock
 
Field Summary
protected  javax.swing.JMenuItem aboutMenuItem
           
protected  javax.swing.JScrollPane attribsScrollPane
           
protected  javax.swing.JList attributeList
           
protected  javax.swing.JLabel attrLbl
           
protected  javax.swing.JMenuItem attrMenuItem
           
protected  InfoSapientController controller
           
protected  javax.swing.JMenuItem controlMenuItem
           
protected  javax.swing.JMenuItem deleteKb
           
protected  javax.swing.JMenu editMenu
           
protected  javax.swing.JMenu editorMenu
           
protected  javax.swing.JMenuItem exitAL
           
protected  javax.swing.JMenu fileMenu
           
protected  javax.swing.JMenuItem graphKBMItem
           
protected  javax.swing.JMenuItem helpMenuItem
           
protected  javax.swing.JMenuItem inferMenuItem
           
protected  javax.swing.JTextField kbNameFld
           
protected  javax.swing.JLabel kbNameLbl
           
protected  javax.swing.Box labelsFields
           
protected  javax.swing.JMenuBar mainMenuBar
           
protected  javax.swing.JMenu menu3
           
protected  InfoSapientLauncher.allActionListener myActionListener
           
protected  javax.swing.JMenuItem newKb
           
protected  javax.swing.JMenuItem openKb
           
protected  boolean openKB
           
protected  javax.swing.JPanel panel1
           
protected  javax.swing.JPanel panel2
           
protected  javax.swing.JPanel panel3
           
protected  javax.swing.JMenuItem parseKb
           
protected  javax.swing.RepaintManager repaintManager
           
protected  javax.swing.JLabel ruleLbl
           
protected  javax.swing.JMenuItem ruleMenuItem
           
protected  javax.swing.JList rulesList
           
protected  javax.swing.JScrollPane rulesScrollPane
           
protected  javax.swing.JMenuItem saveAsNameKb
           
protected  javax.swing.JMenuItem saveKb
           
protected  javax.swing.JMenuItem saveKbAs
           
protected  javax.swing.JLabel setLbl
           
protected  javax.swing.JMenuItem setMenuItem
           
protected  javax.swing.JList setsList
           
protected  javax.swing.JScrollPane setsScrollPane
           
protected  FzyAttribute theAttribute
           
protected  FzyKnowledgebase theKB
           
 
Fields inherited from class javax.swing.JFrame
accessibleContext, defaultCloseOperation, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
base, CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, frameSerializedDataVersion, HAND_CURSOR, icon, ICONIFIED, mbManagement, menuBar, MOVE_CURSOR, N_RESIZE_CURSOR, nameCounter, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, ownedWindows, resizable, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, serialVersionUID, state, SW_RESIZE_CURSOR, TEXT_CURSOR, title, W_RESIZE_CURSOR, WAIT_CURSOR, weakThis
 
Fields inherited from class java.awt.Window
active, base, focusMgr, inputContext, nameCounter, nativeActive, OPENED, ownedWindowList, serialVersionUID, state, warningString, weakThis, windowListener, windowSerializedDataVersion
 
Fields inherited from class java.awt.Container
component, containerListener, containerSerializedDataVersion, dispatcher, layoutMgr, maxSize, ncomponents, serialVersionUID
 
Fields inherited from class java.awt.Component
actionListenerK, adjustmentListenerK, appContext, assert, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, changeSupport, componentListener, componentListenerK, componentOrientation, componentSerializedDataVersion, containerListenerK, cursor, dropTarget, enabled, eventMask, focusListener, focusListenerK, font, foreground, hasFocus, height, incRate, inputMethodListener, inputMethodListenerK, isInc, isPacked, itemListenerK, keyListener, keyListenerK, LEFT_ALIGNMENT, locale, LOCK, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, name, nameExplicitlySet, newEventsOnly, ownedWindowK, parent, peer, peerFont, popups, prefSize, RIGHT_ALIGNMENT, serialVersionUID, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowListenerK, x, y
 
Constructor Summary
InfoSapientLauncher()
           
InfoSapientLauncher(InfoSapientController theControl)
           
InfoSapientLauncher(InfoSapientController theControl, boolean flag)
          CONSTRUCTORS
 
Method Summary
 void applyBtn_Clicked()
           
protected  void attrItemSelected(java.lang.Object iSelect)
          PROTECTED METHODS FOR COMPONENT CONTROL
 void cancelBtn_Clicked()
           
 void closeBtn_Clicked()
           
 void deleteKnowledgebase()
          METHODS FOR INTERFACE SATISFACTION
private  void disableMenus()
           
private  void enableMenus()
           
 InfoSapientController getController()
           
 void handleFSEvent(FSEvent evt)
           
private  void initialize()
           
static void main(java.lang.String[] args)
          Creation date: (05/02/01 4:22:50 PM)
 void newName(java.lang.String name)
           
protected  void openKB(boolean val)
           
protected  void openNewDialog()
           
protected  void ruleItemSelected(java.lang.Object iSelect)
           
protected  void setItemSelected(java.lang.Object iSelect)
           
 void setVisible(boolean f)
           
 void update(Observable observ, java.lang.Object obj)
           
private  void updateAll()
          PRIVATE METHODS....
private  void updateAttrList()
           
private  void updateKBFld()
           
private  void updateRulesList()
           
private  void updateSetsList(FzyAttribute theAttrib)
           
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, createRootPaneException, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Frame
, addNotify, addToFrameList, constructComponentName, finalize, getCursorType, getFrames, getIconImage, getMenuBar, getState, getTitle, initIDs, isResizable, postProcessKeyEvent, readObject, remove, removeFromFrameList, removeNotify, setCursor, setIconImage, setMenuBar, setResizable, setState, setTitle, writeObject
 
Methods inherited from class java.awt.Window
addOwnedWindow, addWindowListener, applyResourceBundle, applyResourceBundle, connectOwnedWindow, dispatchEventImpl, dispose, eventEnabled, getFocusOwner, getInputContext, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, hide, isActive, isShowing, nextFocus, ownedInit, pack, postEvent, postWindowEvent, preProcessKeyEvent, processEvent, removeOwnedWindow, removeWindowListener, setCursor, setFocusOwner, setWarningString, show, toBack, toFront, transferFocus
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyOrientation, countComponents, deliverEvent, dispatchEventToSelf, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents_NoClientCode, getComponents, getCursorTarget, getInsets, getLayout, getMaximumSize, getMinimumSize, getMouseEventTarget, getPreferredSize, getWindow, insets, invalidate, invalidateTree, isAncestorOf, layout, lightweightPrint, list, list, locate, minimumSize, paint, paintComponents, postsOldMouseEvents, preferredSize, print, printComponents, printOneComponent, processContainerEvent, proxyEnableEvents, proxyRequestFocus, remove, removeAll, removeContainerListener, setFont, updateCursor, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, areInputMethodsEnabled, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont_NoClientCode, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getIntrinsicCursor, getLocation, getLocation, getLocationOnScreen, getName, getNativeContainer, getParent_NoClientCode, getParent, getPeer, getSize, getSize, getToolkitImpl, getTreeLock, getWidth, getWindowForObject, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isEnabledImpl, isFocusTraversable, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processInputMethodEvent, processMouseEvent, processMouseMotionEvent, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

theAttribute

protected transient FzyAttribute theAttribute

repaintManager

protected transient javax.swing.RepaintManager repaintManager

attrLbl

protected transient javax.swing.JLabel attrLbl

setLbl

protected transient javax.swing.JLabel setLbl

ruleLbl

protected transient javax.swing.JLabel ruleLbl

attribsScrollPane

protected transient javax.swing.JScrollPane attribsScrollPane

setsScrollPane

protected transient javax.swing.JScrollPane setsScrollPane

rulesScrollPane

protected transient javax.swing.JScrollPane rulesScrollPane

attributeList

protected final transient javax.swing.JList attributeList

setsList

protected final transient javax.swing.JList setsList

rulesList

protected final transient javax.swing.JList rulesList

mainMenuBar

protected transient javax.swing.JMenuBar mainMenuBar

fileMenu

protected transient javax.swing.JMenu fileMenu

newKb

protected transient javax.swing.JMenuItem newKb

openKb

protected transient javax.swing.JMenuItem openKb

parseKb

protected transient javax.swing.JMenuItem parseKb

saveKb

protected transient javax.swing.JMenuItem saveKb

saveKbAs

protected transient javax.swing.JMenuItem saveKbAs

deleteKb

protected transient javax.swing.JMenuItem deleteKb

graphKBMItem

protected transient javax.swing.JMenuItem graphKBMItem

saveAsNameKb

protected transient javax.swing.JMenuItem saveAsNameKb

exitAL

protected transient javax.swing.JMenuItem exitAL

attrMenuItem

protected transient javax.swing.JMenuItem attrMenuItem

setMenuItem

protected transient javax.swing.JMenuItem setMenuItem

ruleMenuItem

protected transient javax.swing.JMenuItem ruleMenuItem

inferMenuItem

protected transient javax.swing.JMenuItem inferMenuItem

controlMenuItem

protected transient javax.swing.JMenuItem controlMenuItem

helpMenuItem

protected transient javax.swing.JMenuItem helpMenuItem

aboutMenuItem

protected transient javax.swing.JMenuItem aboutMenuItem

editMenu

protected transient javax.swing.JMenu editMenu

editorMenu

protected transient javax.swing.JMenu editorMenu

menu3

protected transient javax.swing.JMenu menu3

kbNameLbl

protected transient javax.swing.JLabel kbNameLbl

panel1

protected transient javax.swing.JPanel panel1

labelsFields

protected transient javax.swing.Box labelsFields

panel2

protected transient javax.swing.JPanel panel2

panel3

protected transient javax.swing.JPanel panel3

kbNameFld

protected transient javax.swing.JTextField kbNameFld

controller

protected transient InfoSapientController controller

theKB

protected transient FzyKnowledgebase theKB

openKB

protected transient boolean openKB

myActionListener

protected transient InfoSapientLauncher.allActionListener myActionListener
Constructor Detail

InfoSapientLauncher

public InfoSapientLauncher()

InfoSapientLauncher

public InfoSapientLauncher(InfoSapientController theControl)

InfoSapientLauncher

public InfoSapientLauncher(InfoSapientController theControl,
                           boolean flag)
CONSTRUCTORS
Method Detail

applyBtn_Clicked

public void applyBtn_Clicked()
Specified by:
applyBtn_Clicked in interface InfoSapientFrameIF

attrItemSelected

protected void attrItemSelected(java.lang.Object iSelect)
PROTECTED METHODS FOR COMPONENT CONTROL

cancelBtn_Clicked

public void cancelBtn_Clicked()
Specified by:
cancelBtn_Clicked in interface InfoSapientFrameIF

closeBtn_Clicked

public void closeBtn_Clicked()
Specified by:
closeBtn_Clicked in interface InfoSapientFrameIF

deleteKnowledgebase

public void deleteKnowledgebase()
METHODS FOR INTERFACE SATISFACTION

disableMenus

private void disableMenus()

enableMenus

private void enableMenus()

getController

public InfoSapientController getController()

handleFSEvent

public void handleFSEvent(FSEvent evt)
Specified by:
handleFSEvent in interface InfoSapientFrameIF

initialize

private void initialize()

main

public static void main(java.lang.String[] args)
Creation date: (05/02/01 4:22:50 PM)
Parameters:
args - java.lang.String[]

newName

public void newName(java.lang.String name)

openKB

protected void openKB(boolean val)

openNewDialog

protected void openNewDialog()

ruleItemSelected

protected void ruleItemSelected(java.lang.Object iSelect)

setItemSelected

protected void setItemSelected(java.lang.Object iSelect)

setVisible

public void setVisible(boolean f)
Overrides:
setVisible in class java.awt.Component

update

public void update(Observable observ,
                   java.lang.Object obj)
Specified by:
update in interface Observer

updateAll

private void updateAll()
PRIVATE METHODS....

updateAttrList

private void updateAttrList()

updateKBFld

private void updateKBFld()

updateRulesList

private void updateRulesList()

updateSetsList

private void updateSetsList(FzyAttribute theAttrib)

License to use this program is provided under the TERMS OF THE COMMON PUBLIC LICENSE 0.5. ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

Copyright (c) 2001, Workplace Performance Tools, All Rights Reserved