infosapient.ui
Class InfoSapientAttributeEditor

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

public class InfoSapientAttributeEditor
extends javax.swing.JFrame
implements InfoSapientFrameIF, Observer

Class InfoSapientAttributeEditor

Version:
$Revision: 1.1.1.1 $
See Also:
Serialized Form

Inner Class Summary
(package private)  class InfoSapientAttributeEditor.alaDeleteMenuItemListener
           
(package private)  class InfoSapientAttributeEditor.alaGraphMenuItemListener
           
(package private)  class InfoSapientAttributeEditor.alaNewMenuItemListener
           
(package private)  class InfoSapientAttributeEditor.alaNewSetListener
           
(package private)  class InfoSapientAttributeEditor.alaWinListener
           
(package private)  class InfoSapientAttributeEditor.BtnListener
           
(package private)  class InfoSapientAttributeEditor.RBListener
           
(package private)  class InfoSapientAttributeEditor.rListListener
           
(package private)  class InfoSapientAttributeEditor.TextController
           
 
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.JRadioButton allRB
           
protected  java.lang.String attribName
           
protected  javax.swing.JTextField attribNameFld
           
protected  javax.swing.JLabel attribNameLbl
           
protected  javax.swing.JPanel attribPanel
           
protected  FzyAttribute attribute
           
protected  javax.swing.JButton cancelOrCloseBtn
           
protected  boolean changesOutstanding
           
protected  boolean commitToKB
           
protected  InfoSapientController controller
           
protected  int currColm
           
protected  int currRow
           
protected  javax.swing.JRadioButton deducingRB
           
protected  java.lang.String defaultAttribName
           
protected  javax.swing.JMenuItem deleteAttrib
           
protected  javax.swing.DefaultListSelectionModel dlm
           
protected  javax.swing.JMenu editMenu
           
protected  javax.swing.JMenu editorMenu
           
protected  javax.swing.JMenuItem exitAL
           
protected  javax.swing.JMenu fileMenu
           
protected  javax.swing.JMenuItem graphAttrib
           
protected  java.lang.String kbName
           
protected  java.util.Vector list
           
protected  javax.swing.JMenuBar mainMenuBar
           
protected  javax.swing.JMenu menu3
           
protected  javax.swing.JMenuItem newAttrib
           
protected  javax.swing.JButton newOrApplyBtn
           
protected  javax.swing.ButtonGroup rbg
           
protected  InfoSapientAttributeEditor.RBListener rbL
           
protected  javax.swing.JRadioButton referringRB
           
protected  javax.swing.RepaintManager repaintManager
           
protected  javax.swing.JLabel ruleLbl
           
protected  javax.swing.JList rulesList
           
protected  InfoSapientSwingSetList setListPanel
           
protected  javax.swing.JMenuItem setMenuItem
           
 
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
InfoSapientAttributeEditor(InfoSapientController theControl)
          Constructors
InfoSapientAttributeEditor(InfoSapientController theControl, FzyAttribute fa)
           
 
Method Summary
protected  void allRules()
           
 void applyBtn_Clicked()
           
 void cancelBtn_Clicked()
           
protected  void changesMade()
           
protected  void changesSaved()
           
 void closeBtn_Clicked()
           
protected  void deduceRules()
           
 void deleteInfoSapientComponent()
           
 InfoSapientController getController()
           
 void graphAttribute()
           
 void handleFSEvent(FSEvent anEvent)
           
 void init()
           
protected  void initAllFields()
           
 void newBtn_Clicked()
           
 void newInfoSapientComponent()
           
 void newName()
           
protected  void referRules()
           
protected  void setAttributeForEdit(FzyAttribute theAttrib)
           
 void setVisible(boolean f)
           
 void update(Observable observ, java.lang.Object arg)
           
 
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

repaintManager

protected transient javax.swing.RepaintManager repaintManager

attribute

protected transient FzyAttribute attribute

attribNameFld

protected final transient javax.swing.JTextField attribNameFld

mainMenuBar

protected transient javax.swing.JMenuBar mainMenuBar

fileMenu

protected transient javax.swing.JMenu fileMenu

newAttrib

protected transient javax.swing.JMenuItem newAttrib

deleteAttrib

protected transient javax.swing.JMenuItem deleteAttrib

graphAttrib

protected transient javax.swing.JMenuItem graphAttrib

exitAL

protected transient javax.swing.JMenuItem exitAL

setMenuItem

protected transient javax.swing.JMenuItem setMenuItem

editMenu

protected transient javax.swing.JMenu editMenu

editorMenu

protected transient javax.swing.JMenu editorMenu

menu3

protected transient javax.swing.JMenu menu3

list

protected transient java.util.Vector list

newOrApplyBtn

protected transient javax.swing.JButton newOrApplyBtn

cancelOrCloseBtn

protected transient javax.swing.JButton cancelOrCloseBtn

setListPanel

protected transient InfoSapientSwingSetList setListPanel

attribNameLbl

protected transient javax.swing.JLabel attribNameLbl

attribPanel

protected transient javax.swing.JPanel attribPanel

rulesList

protected transient javax.swing.JList rulesList

dlm

protected transient javax.swing.DefaultListSelectionModel dlm

referringRB

protected transient javax.swing.JRadioButton referringRB

rbg

protected transient javax.swing.ButtonGroup rbg

deducingRB

protected transient javax.swing.JRadioButton deducingRB

allRB

protected transient javax.swing.JRadioButton allRB

ruleLbl

protected transient javax.swing.JLabel ruleLbl

controller

protected transient InfoSapientController controller

changesOutstanding

protected transient boolean changesOutstanding

commitToKB

protected transient boolean commitToKB

kbName

protected transient java.lang.String kbName

attribName

protected transient java.lang.String attribName

rbL

protected transient InfoSapientAttributeEditor.RBListener rbL

currRow

protected transient int currRow

currColm

protected transient int currColm

defaultAttribName

protected transient java.lang.String defaultAttribName
Constructor Detail

InfoSapientAttributeEditor

public InfoSapientAttributeEditor(InfoSapientController theControl)
                           throws java.lang.IllegalArgumentException
Constructors

InfoSapientAttributeEditor

public InfoSapientAttributeEditor(InfoSapientController theControl,
                                  FzyAttribute fa)
                           throws java.lang.IllegalArgumentException
Method Detail

allRules

protected void allRules()

applyBtn_Clicked

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

cancelBtn_Clicked

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

changesMade

protected void changesMade()

changesSaved

protected void changesSaved()

closeBtn_Clicked

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

deduceRules

protected void deduceRules()

deleteInfoSapientComponent

public void deleteInfoSapientComponent()

getController

public InfoSapientController getController()

graphAttribute

public void graphAttribute()

handleFSEvent

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

init

public void init()

initAllFields

protected void initAllFields()

newInfoSapientComponent

public void newInfoSapientComponent()

newBtn_Clicked

public void newBtn_Clicked()

newName

public void newName()

referRules

protected void referRules()

setAttributeForEdit

protected void setAttributeForEdit(FzyAttribute theAttrib)

setVisible

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

update

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

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