|
||||||||||
| 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.JTable
|
+--ix.iface.ui.table.IXTable
|
+--ix.iface.ui.table.IXTreeTable
|
+--ix.ip2.AgendaTableViewer
A table viewer for an agenda (set of agenda items). The items are managed by an AgendaManager (usually an Agenda).
| Inner classes inherited from class javax.swing.JTable |
javax.swing.JTable.AccessibleJTable, javax.swing.JTable.BooleanEditor, javax.swing.JTable.BooleanRenderer, javax.swing.JTable.DateRenderer, javax.swing.JTable.DoubleRenderer, javax.swing.JTable.GenericEditor, javax.swing.JTable.IconRenderer, javax.swing.JTable.NumberEditor, javax.swing.JTable.NumberRenderer |
| Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent, javax.swing.JComponent.ActionStandin, javax.swing.JComponent.IntVector, javax.swing.JComponent.KeyboardState |
| Inner classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Inner classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.AWTTreeLock |
| Field Summary | |
(package private) AgendaManager |
agendaManager
|
protected Ip2 |
ip2
|
(package private) ItemEditor |
itemEditor
|
(package private) AgendaItemTableModel |
model
|
(package private) ix.ip2.AgendaTableViewer.PriorityPopupMenu |
priorityPopup
|
| Fields inherited from class ix.iface.ui.table.IXTreeTable |
parentsAreBold |
| Fields inherited from class javax.swing.JTable |
AUTO_RESIZE_ALL_COLUMNS, AUTO_RESIZE_LAST_COLUMN, AUTO_RESIZE_NEXT_COLUMN, AUTO_RESIZE_OFF, AUTO_RESIZE_SUBSEQUENT_COLUMNS, autoCreateColumnsFromModel, autoResizeMode, cellEditor, cellSelectionEnabled, columnModel, dataModel, defaultEditorsByColumnClass, defaultRenderersByColumnClass, editingColumn, editingRow, editorComp, gridColor, preferredViewportSize, rowHeight, rowMargin, rowSelectionAllowed, selectionBackground, selectionForeground, selectionModel, showHorizontalLines, showVerticalLines, tableHeader |
| Fields inherited from class javax.swing.JComponent |
_bounds, accessibleContext, listenerList, paintingChild, 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 |
component, containerListener, layoutMgr, listeningBoundsChildren, listeningChildren, ncomponents |
| Fields inherited from class java.awt.Component |
actionListenerK, adjustmentListenerK, appContext, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, componentListener, componentListenerK, componentOrientation, containerListenerK, cursor, dropTarget, enabled, eventMask, focusListener, focusListenerK, font, foreground, graphicsConfig, hasFocus, height, hierarchyBoundsListener, hierarchyBoundsListenerK, hierarchyListener, hierarchyListenerK, incRate, inputMethodListener, inputMethodListenerK, isInc, isPacked, itemListenerK, keyListener, keyListenerK, LEFT_ALIGNMENT, locale, LOCK, metrics, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, newEventsOnly, ownedWindowK, parent, peer, peerFont, popups, prefSize, RIGHT_ALIGNMENT, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowClosingException, windowListenerK, x, y |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
AgendaTableViewer(Ip2 ip2)
Constructs a viewer for the indicated agent. |
|
| Method Summary | |
void |
actionSelected(AgendaItem item,
java.lang.String actionName)
|
void |
addItem(AgendaItem i)
|
void |
addItem(Priority priority,
java.lang.String text)
|
void |
addItem(java.lang.String text)
Useful methods for adding test items. |
void |
clearTable()
Clears what's displayed without resetting anything else. |
boolean |
editCellAt(int row,
int column,
java.util.EventObject e)
Hack to make things start properly |
void |
editingCanceled(javax.swing.event.ChangeEvent e)
|
void |
editingStopped(javax.swing.event.ChangeEvent e)
|
void |
ensureItemEditor()
|
void |
expandItem(AgendaItem i,
Refinement instructions)
|
HandlerAction |
findHandlerAction(AgendaItem item,
java.lang.String shortDescription)
Undoes a clearTable(), taking into acount any
changes in open/closed status. |
void |
getNewItemFromUser()
|
void |
handleItem(AgendaItem item,
HandlerAction action)
|
boolean |
isDummyEditing(int row)
|
void |
itemAdded(AgendaEvent event,
AgendaItem i)
|
void |
itemAdded(AgendaItem i)
Called when an itemhas been added, adds the item to the table. |
void |
itemHandled(AgendaEvent ae,
AgendaItem item,
HandlerAction act)
|
void |
itemRemoved(AgendaEvent event,
AgendaItem i)
|
AgendaItem |
makeItem(LList pattern)
|
protected abstract ItemEditor |
makeItemEditor()
|
void |
newBindings(AgendaEvent event,
java.util.Map bindings)
|
void |
newHandlerAction(AgendaItem item,
HandlerAction act)
|
void |
reset()
Sets the viewer back to something approximating its initial state. |
void |
saveExpansion(Refinement data)
|
void |
setAgendaManager(AgendaManager agendaManager)
|
void |
setItemEditor(ItemEditor itemEditor)
|
protected void |
setShadowingAction(AgendaItem item,
java.lang.String shortDescription,
HandlerAction action)
|
(package private) boolean |
shouldReplaceAction(AgendaItem item,
java.lang.String actDescription)
|
| Methods inherited from class ix.iface.ui.table.IXTreeTable |
setParentsBold |
| Methods inherited from class ix.iface.ui.table.IXTable |
addTableMouseListener, adjustWidths, getSelectedObject, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, removeTableMouseListener, setModel, setSelectedObject, setSelectedRow |
| Methods inherited from class javax.swing.JTable |
addColumn, addColumnSelectionInterval, addNotify, addRowSelectionInterval, changeSelection, clearSelection, columnAdded, columnAtPoint, columnMarginChanged, columnMoved, columnRemoved, columnSelectionChanged, compWriteObjectNotify, configureEnclosingScrollPane, convertColumnIndexToModel, convertColumnIndexToView, createDefaultColumnModel, createDefaultColumnsFromModel, createDefaultDataModel, createDefaultEditors, createDefaultRenderers, createDefaultSelectionModel, createDefaultTableHeader, createScrollPaneForTable, doLayout, editCellAt, getAccessibleContext, getAutoCreateColumnsFromModel, getAutoResizeMode, getCellEditor, getCellEditor, getCellRect, getCellRenderer, getCellSelectionEnabled, getColumn, getColumnClass, getColumnCount, getColumnModel, getColumnName, getColumnSelectionAllowed, getDefaultEditor, getDefaultRenderer, getEditingColumn, getEditingRow, getEditorComponent, getGridColor, getIntercellSpacing, getModel, getPreferredScrollableViewportSize, getRowCount, getRowHeight, getRowHeight, getRowMargin, getRowSelectionAllowed, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getSelectedColumn, getSelectedColumnCount, getSelectedColumns, getSelectedRow, getSelectedRowCount, getSelectedRows, getSelectionBackground, getSelectionForeground, getSelectionModel, getShowHorizontalLines, getShowVerticalLines, getTableHeader, getToolTipText, getUI, getUIClassID, getValueAt, initializeLocalVars, isCellEditable, isCellSelected, isColumnSelected, isEditing, isFocusTraversable, isManagingFocus, isRowSelected, moveColumn, paramString, prepareEditor, prepareRenderer, processKeyBinding, removeColumn, removeColumnSelectionInterval, removeEditor, removeNotify, removeRowSelectionInterval, resizeAndRepaint, rowAtPoint, selectAll, setAutoCreateColumnsFromModel, setAutoResizeMode, setCellEditor, setCellSelectionEnabled, setColumnModel, setColumnSelectionAllowed, setColumnSelectionInterval, setDefaultEditor, setDefaultRenderer, setEditingColumn, setEditingRow, setGridColor, setIntercellSpacing, setPreferredScrollableViewportSize, setRowHeight, setRowHeight, setRowMargin, setRowSelectionAllowed, setRowSelectionInterval, setSelectionBackground, setSelectionForeground, setSelectionMode, setSelectionModel, setShowGrid, setShowHorizontalLines, setShowVerticalLines, setTableHeader, setUI, setValueAt, sizeColumnsToFit, sizeColumnsToFit, tableChanged, unconfigureEnclosingScrollPane, updateUI, valueChanged |
| Methods inherited from class javax.swing.JComponent |
_paintImmediately, |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, adjustListeningChildren, applyOrientation, checkGD, countComponents, createChildHierarchyEvents, createHierarchyEvents, deliverEvent, dispatchEventImpl, dispatchEventToSelf, eventEnabled, findComponentAt, findComponentAt, findComponentAt, getAccessibleAt, getAccessibleChild, getAccessibleChildrenCount, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents_NoClientCode, getComponents, getLayout, getMouseEventTarget, getWindow, insets, invalidate, invalidateTree, isAncestorOf, layout, lightweightPaint, lightweightPrint, list, list, locate, minimumSize, nextFocus, numListening, paintComponents, paintHeavyweightComponents, postProcessKeyEvent, postsOldMouseEvents, preferredSize, preProcessKeyEvent, printComponents, printHeavyweightComponents, processContainerEvent, processEvent, proxyEnableEvents, proxyRequestFocus, remove, remove, removeAll, removeContainerListener, setFocusOwner, setLayout, transferFocus, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, areInputMethodsEnabled, bounds, checkImage, checkImage, checkWindowClosingException, coalesceEvents, constructComponentName, contains, createImage, createImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getAccessibleIndexInParent, getAccessibleStateSet, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont_NoClientCode, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen_NoTreeLock, getLocationOnScreen, getName, getNativeContainer, getParent_NoClientCode, getParent, getPeer, getSize, getToolkit, getToolkitImpl, getTreeLock, gotFocus, handleEvent, imageUpdate, inside, isDisplayable, isEnabled, isEnabledImpl, isLightweight, isRecursivelyVisible, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resetGC, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, 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, wait, wait, wait |
| Field Detail |
protected Ip2 ip2
AgendaManager agendaManager
ItemEditor itemEditor
AgendaItemTableModel model
final ix.ip2.AgendaTableViewer.PriorityPopupMenu priorityPopup
| Constructor Detail |
public AgendaTableViewer(Ip2 ip2)
| Method Detail |
public void setItemEditor(ItemEditor itemEditor)
public void ensureItemEditor()
protected abstract ItemEditor makeItemEditor()
public void reset()
reset in interface AgendaViewerpublic void clearTable()
public HandlerAction findHandlerAction(AgendaItem item,
java.lang.String shortDescription)
clearTable(), taking into acount any
changes in open/closed status.
protected void setShadowingAction(AgendaItem item,
java.lang.String shortDescription,
HandlerAction action)
public void actionSelected(AgendaItem item,
java.lang.String actionName)
public void handleItem(AgendaItem item,
HandlerAction action)
public void newHandlerAction(AgendaItem item,
HandlerAction act)
boolean shouldReplaceAction(AgendaItem item,
java.lang.String actDescription)
public void getNewItemFromUser()
getNewItemFromUser in interface AgendaViewerpublic AgendaItem makeItem(LList pattern)
makeItem in interface AgendaViewerpublic void addItem(AgendaItem i)
addItem in interface AgendaViewerpublic void saveExpansion(Refinement data)
saveExpansion in interface AgendaViewer
public void expandItem(AgendaItem i,
Refinement instructions)
expandItem in interface AgendaViewerpublic void addItem(java.lang.String text)
public void addItem(Priority priority,
java.lang.String text)
public void setAgendaManager(AgendaManager agendaManager)
setAgendaManager in interface AgendaViewer
public void itemAdded(AgendaEvent event,
AgendaItem i)
itemAdded in interface AgendaListenerpublic void itemAdded(AgendaItem i)
public void itemRemoved(AgendaEvent event,
AgendaItem i)
itemRemoved in interface AgendaListener
public void itemHandled(AgendaEvent ae,
AgendaItem item,
HandlerAction act)
itemHandled in interface AgendaListener
public void newBindings(AgendaEvent event,
java.util.Map bindings)
newBindings in interface AgendaListenerpublic void editingCanceled(javax.swing.event.ChangeEvent e)
editingCanceled in class javax.swing.JTablepublic void editingStopped(javax.swing.event.ChangeEvent e)
editingStopped in class javax.swing.JTable
public boolean editCellAt(int row,
int column,
java.util.EventObject e)
editCellAt in class javax.swing.JTablepublic boolean isDummyEditing(int row)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||