|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--infosapient.ui.InfoSapientSetList
Class InfoSapientSetList.java
Inner Class Summary | |
(package private) class |
InfoSapientSetList.ApplyAction
|
(package private) class |
InfoSapientSetList.CreateAction
|
(package private) class |
InfoSapientSetList.DeleteAction
|
(package private) class |
InfoSapientSetList.EditAction
|
(package private) class |
InfoSapientSetList.FzySetList_JTable
|
(package private) class |
InfoSapientSetList.RedoAction
|
(package private) class |
InfoSapientSetList.UndoAction
|
Inner classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent,
javax.swing.JComponent.IntVector,
javax.swing.JComponent.KeyboardBinding,
javax.swing.JComponent.KeyboardState |
Inner classes inherited from class java.awt.Component |
java.awt.Component.AWTTreeLock |
Field Summary | |
protected javax.swing.JMenuItem |
acceptSetItem
|
static java.lang.String |
ACTION_SUFFIX
Suffix applied to the key used in resource file lookups for an action. |
protected javax.swing.Action[] |
actionsList
|
static java.lang.String |
APPLY_ACTION
Presentation name for apply action command |
protected InfoSapientSetList.ApplyAction |
applyAction
|
protected FzyAttribute |
attribute
|
(package private) static int |
CMPMEM
The column representing the Complete membership of this set |
protected java.util.Hashtable |
commands
|
protected InfoSapientController |
controller
|
static java.lang.String |
CREATE_ACTION
Presentation name for create action command |
protected InfoSapientSetList.CreateAction |
createAction
|
protected javax.swing.JMenuItem |
createSetItem
|
protected int |
currentLastRow
|
static java.lang.String |
DELETE_ACTION
Presentation name for delete action command |
protected InfoSapientSetList.DeleteAction |
deleteAction
|
protected javax.swing.JMenuItem |
deleteSetItem
|
static java.lang.String |
EDIT_ACTION
Presentation name for edit action command |
protected InfoSapientSetList.EditAction |
editAction
|
protected javax.swing.JMenuItem |
editSetItem
|
protected int |
finalRow
|
protected static boolean |
FOUND_PROPERTIES
|
static java.lang.String |
HEADING_SUFFIX
Suffix applied to the key for the JTable Headings |
(package private) static int |
HIDOM
The column representing the High Domain of this set |
static java.lang.String |
IMAGE_SUFFIX
Suffix applied to the key used in resource file lookups for an image. |
protected boolean |
incRow
|
static java.lang.String |
LABEL_SUFFIX
Suffix applied to the key used in resource file lookups for a label. |
(package private) static int |
LODOM
The column representing the Low Domain of this set |
(package private) static int |
NAME
The column of names of each set |
(package private) static int |
NCOLUMNS
The current number of columns displayed in the table. |
protected javax.swing.JPopupMenu |
pMenu
|
protected InfoSapientSetList.RedoAction |
redoAction
|
protected javax.swing.RepaintManager |
repaintManager
|
protected static java.util.ResourceBundle |
RESOURCES
|
protected java.util.Vector |
rowContents
|
protected javax.swing.JScrollPane |
scrollpane
|
(package private) static int |
SEQNUM
The column of sequence numbers for the table display |
(package private) static long |
serialVersionUID
|
protected FzySet |
set
|
protected java.lang.String |
setStatusCmd
|
protected java.lang.Object |
setTypeSelection
|
protected java.util.Vector |
setVector
|
(package private) static int |
SIDE
The column of the "sidedness" of the set |
protected javax.swing.table.DefaultTableModel |
tableModel
|
protected InfoSapientSetList.FzySetList_JTable |
tableView
|
static java.lang.String |
TIP_SUFFIX
Suffix applied to the key used in resource file lookups for tooltip text. |
protected javax.swing.JToolBar |
toolbar
|
(package private) static int |
TYPE
The column of the set type |
protected InfoSapientSetList.UndoAction |
undoAction
Actions defined by InfoSapientSetList |
protected javax.swing.undo.UndoManager |
undoMgr
|
Fields inherited from class javax.swing.JPanel |
defaultLayout,
uiClassID |
Fields inherited from class javax.swing.JComponent |
_bounds,
accessibleContext,
alignmentX,
alignmentY,
ANCESTOR_USING_BUFFER,
ancestorNotifier,
autoscroller,
border,
changeSupport,
clientProperties,
flags,
HAS_FOCUS,
IS_DOUBLE_BUFFERED,
IS_OPAQUE,
IS_PAINTING_TILE,
KEYBOARD_BINDINGS_KEY,
listenerList,
maximumSize,
minimumSize,
NEXT_FOCUS,
paintImmediatelyClip,
paintingChild,
preferredSize,
readObjectCallbacks,
REQUEST_FOCUS_DISABLED,
tmpRect,
TOOL_TIP_TEXT_KEY,
ui,
uiClassID,
UNDEFINED_CONDITION,
vetoableChangeSupport,
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,
WHEN_FOCUSED,
WHEN_IN_FOCUSED_WINDOW |
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 | |
InfoSapientSetList(FzyAttribute attribute,
InfoSapientController controller)
|
Method Summary | |
(package private) static void |
|
protected java.util.Vector |
createTableHeadings()
Create table headings from the headings provided in the settable.properties
file. |
protected java.awt.Component |
createTool(java.lang.String key)
Hook through which every toolbar item is created. |
protected java.awt.Component |
createToolbar()
Create the toolbar. |
protected javax.swing.JButton |
createToolbarButton(java.lang.String key)
Create a button to go inside of the toolbar. |
javax.swing.Action |
getAction(java.lang.String cmd)
Fetch a specific action for a command keyword |
javax.swing.Action[] |
getActions()
Fetch the list of actions supported by this editor. |
protected InfoSapientController |
getController()
|
protected javax.swing.JPanel |
getPanel()
|
protected java.net.URL |
getResource(java.lang.String key)
Given a key returns a URL associated with that key. |
protected java.lang.String |
getResourceString(java.lang.String nm)
Given a key, returns the parameter string associated with that key. |
protected java.awt.Container |
getToolbar()
|
void |
insertSet(int rowNum,
FzySet theSet)
|
void |
removeAll()
|
protected java.lang.String[] |
tokenize(java.lang.String input)
Take the given string and chop it up into a series of strings on whitespace boundries. |
void |
undoableEditHappened(javax.swing.event.UndoableEditEvent e)
Messaged when the JTable has created an edit, the edit is added to undoMgr , an instance of UndoManager. |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext,
getUIClassID,
paramString,
updateUI,
writeObject |
Methods inherited from class javax.swing.JComponent |
_paintImmediately,
addAncestorListener,
addNotify,
addPropertyChangeListener,
addPropertyChangeListener,
addVetoableChangeListener,
adjustPaintFlags,
alwaysOnTop,
bindingForKeyStroke,
checkIfChildObscuredBySibling,
computeVisibleRect,
computeVisibleRect,
contains,
createToolTip,
enableSerialization,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
fireVetoableChange,
getActionForKeyStroke,
getAlignmentX,
getAlignmentY,
getAutoscrolls,
getBorder,
getBounds,
getClientProperties,
getClientProperty,
getComponentGraphics,
getConditionForKeyStroke,
getDebugGraphicsOptions,
getFlag,
getGraphics,
getHeight,
getInsets,
getInsets,
getLocation,
getMaximumSize,
getMinimumSize,
getNextFocusableComponent,
getPreferredSize,
getRegisteredKeyStrokes,
getRootPane,
getSize,
getToolTipLocation,
getToolTipText,
getToolTipText,
getTopLevelAncestor,
getVisibleRect,
getWidth,
getX,
getY,
grabFocus,
hasFocus,
isDoubleBuffered,
isFocusCycleRoot,
isFocusTraversable,
isLightweightComponent,
isManagingFocus,
isOpaque,
isOptimizedDrawingEnabled,
isPaintingTile,
isRequestFocusEnabled,
isValidateRoot,
keyboardBindings,
paint,
paintBorder,
paintChildren,
paintComponent,
paintImmediately,
paintImmediately,
paintWithBuffer,
processComponentKeyEvent,
processFocusEvent,
processKeyBinding,
processKeyBindings,
processKeyBindingsForAllComponents,
processKeyEvent,
processMouseMotionEvent,
putClientProperty,
readObject,
rectangleIsObscured,
rectangleIsObscuredBySibling,
registerKeyboardAction,
registerKeyboardAction,
registerWithKeyboardManager,
removeAncestorListener,
removeNotify,
removePropertyChangeListener,
removePropertyChangeListener,
removeVetoableChangeListener,
repaint,
repaint,
requestDefaultFocus,
requestFocus,
resetKeyboardActions,
reshape,
revalidate,
scrollRectToVisible,
setAlignmentX,
setAlignmentY,
setAutoscrolls,
setBackground,
setBorder,
setDebugGraphicsOptions,
setDoubleBuffered,
setEnabled,
setFlag,
setFont,
setForeground,
setMaximumSize,
setMinimumSize,
setNextFocusableComponent,
setOpaque,
setPaintingChild,
setPreferredSize,
setRequestFocusEnabled,
setToolTipText,
setUI,
setVisible,
shouldDebugGraphics,
superProcessMouseMotionEvent,
unregisterKeyboardAction,
unregisterWithKeyboardManager,
update |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
applyOrientation,
countComponents,
deliverEvent,
dispatchEventImpl,
dispatchEventToSelf,
doLayout,
eventEnabled,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents_NoClientCode,
getComponents,
getCursorTarget,
getLayout,
getMouseEventTarget,
getWindow,
initIDs,
insets,
invalidate,
invalidateTree,
isAncestorOf,
layout,
lightweightPrint,
list,
list,
locate,
minimumSize,
nextFocus,
paintComponents,
postProcessKeyEvent,
postsOldMouseEvents,
preferredSize,
preProcessKeyEvent,
print,
printComponents,
printOneComponent,
processContainerEvent,
processEvent,
proxyEnableEvents,
proxyRequestFocus,
remove,
remove,
removeContainerListener,
setCursor,
setFocusOwner,
setLayout,
transferFocus,
updateCursor,
validate,
validateTree |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
areInputMethodsEnabled,
bounds,
checkImage,
checkImage,
coalesceEvents,
constructComponentName,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
getBackground,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont_NoClientCode,
getFont,
getFontMetrics,
getForeground,
getInputContext,
getInputMethodRequests,
getIntrinsicCursor,
getLocale,
getLocation,
getLocationOnScreen,
getName,
getNativeContainer,
getParent_NoClientCode,
getParent,
getPeer,
getSize,
getToolkit,
getToolkitImpl,
getTreeLock,
getWindowForObject,
gotFocus,
handleEvent,
hide,
imageUpdate,
inside,
isDisplayable,
isEnabled,
isEnabledImpl,
isLightweight,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
postEvent,
prepareImage,
prepareImage,
printAll,
processComponentEvent,
processInputMethodEvent,
processMouseEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
repaint,
repaint,
repaint,
resize,
resize,
setBounds,
setBounds,
setComponentOrientation,
setDropTarget,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
show,
show,
size,
toString,
transferFocus |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
Field Detail |
static final long serialVersionUID
static final int SEQNUM
static final int NAME
static final int TYPE
static final int SIDE
static final int LODOM
static final int HIDOM
static final int CMPMEM
static final int NCOLUMNS
public static final java.lang.String IMAGE_SUFFIX
public static final java.lang.String LABEL_SUFFIX
public static final java.lang.String ACTION_SUFFIX
public static final java.lang.String TIP_SUFFIX
public static final java.lang.String HEADING_SUFFIX
public static final java.lang.String EDIT_ACTION
public static final java.lang.String CREATE_ACTION
public static final java.lang.String DELETE_ACTION
public static final java.lang.String APPLY_ACTION
protected static java.util.ResourceBundle RESOURCES
protected static boolean FOUND_PROPERTIES
protected transient int currentLastRow
protected transient int finalRow
protected transient boolean incRow
protected transient InfoSapientController controller
protected transient FzyAttribute attribute
protected transient FzySet set
protected transient java.util.Vector setVector
protected transient java.util.Vector rowContents
protected transient javax.swing.table.DefaultTableModel tableModel
protected transient javax.swing.JScrollPane scrollpane
protected transient InfoSapientSetList.FzySetList_JTable tableView
protected transient javax.swing.JToolBar toolbar
protected transient javax.swing.JPopupMenu pMenu
protected transient javax.swing.JMenuItem createSetItem
protected transient javax.swing.JMenuItem editSetItem
protected transient javax.swing.JMenuItem deleteSetItem
protected transient javax.swing.JMenuItem acceptSetItem
protected transient javax.swing.RepaintManager repaintManager
protected transient javax.swing.undo.UndoManager undoMgr
protected transient java.util.Hashtable commands
protected transient java.lang.Object setTypeSelection
protected transient java.lang.String setStatusCmd
protected transient InfoSapientSetList.UndoAction undoAction
protected transient InfoSapientSetList.RedoAction redoAction
protected transient InfoSapientSetList.CreateAction createAction
protected transient InfoSapientSetList.EditAction editAction
protected transient InfoSapientSetList.ApplyAction applyAction
protected transient InfoSapientSetList.DeleteAction deleteAction
protected transient javax.swing.Action[] actionsList
Constructor Detail |
public InfoSapientSetList(FzyAttribute attribute, InfoSapientController controller)
Method Detail |
static void()
protected java.util.Vector createTableHeadings()
settable.properties
file.protected java.awt.Component createTool(java.lang.String key)
String
- -- the key for the command this tool is supposed to represent.protected java.awt.Component createToolbar()
settable.properties
resource file for the definition of the toolbar.protected javax.swing.JButton createToolbarButton(java.lang.String key)
key
- The key in the resource file to serve as the basis
of lookups.public javax.swing.Action getAction(java.lang.String cmd)
String
- -- the cmdKeypublic javax.swing.Action[] getActions()
protected InfoSapientController getController()
protected javax.swing.JPanel getPanel()
protected java.net.URL getResource(java.lang.String key)
String
- key to be used for resource lookup.protected java.lang.String getResourceString(java.lang.String nm)
String
- - the key to the command hashtableprotected java.awt.Container getToolbar()
public void insertSet(int rowNum, FzySet theSet)
public void removeAll()
protected java.lang.String[] tokenize(java.lang.String input)
String
- - the parameter of the resource file where the string is found.public void undoableEditHappened(javax.swing.event.UndoableEditEvent e)
undoMgr
, an instance of UndoManager.
|
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. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |