|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--java.awt.Window
|
+--java.awt.Frame
|
+--javax.swing.JFrame
|
+--com.usefullittlethings.saw.ui.DefaultSearchUI
Basic implementation of the SearchUIIfc interface
using Swing classes (i.e.- JFrame).
SearchUIIfc,
JFrame,
Serialized Form| Field Summary |
| Fields inherited from class javax.swing.JFrame |
EXIT_ON_CLOSE |
| Fields inherited from class java.awt.Frame |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
DefaultSearchUI()
|
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
addActionUI(int index,
java.awt.Component c,
java.lang.String title)
Adds the action's ui to the user interface. |
void |
addFilterUI(int index,
java.awt.Component c,
java.lang.String title)
Adds the filter's ui to the user interface. |
void |
disableForSearch()
Tells the user interface to stop accepting user input for the duration of a search operation. |
void |
dispose()
Disposes of this ui component, only to be used when application is exiting. |
void |
doShowStatusMessage(java.lang.String message)
|
void |
dragEnter(java.awt.dnd.DropTargetDragEvent dtde)
|
void |
dragExit(java.awt.dnd.DropTargetEvent dte)
|
void |
dragOver(java.awt.dnd.DropTargetDragEvent dtde)
|
void |
drop(java.awt.dnd.DropTargetDropEvent dtde)
|
void |
dropActionChanged(java.awt.dnd.DropTargetDragEvent dtde)
|
void |
enableAfterSearch()
Tells the user interface to start accepting user input at the completion of a search operation. |
java.io.File |
getOpenFromLocation()
Displays an open dialog and returns the selection. |
java.io.File |
getSaveToLocation()
Displays a save dialog and returns the selection. |
StartupUIIfc |
getStartupUI()
|
void |
removeActionUI(java.awt.Component c)
Removes the ui of the filter specified by the index from the user interface. |
void |
removeFilterUI(java.awt.Component c)
Removes the ui of the filter specified by the index from the user interface. |
void |
setActionsModel(PluginCollection model)
Used to set a reference to the actions model within the ui. |
void |
setActionSummary(java.lang.String message)
Sets a summary of the actions' configuration in the ui. |
void |
setAppTitle(java.lang.String title)
Sets the application title to the specified value. |
void |
setController(AppControllerIfc controller)
Registers the application-level controller with the user interface to receive application-level events, such as exit requests, etc. |
void |
setFiltersModel(PluginCollection model)
Used to set a reference to the filters model within the ui. |
void |
setFilterSummary(java.lang.String message)
Sets a summary of the filters' configuration in the ui. |
void |
setSearchRootUI(SearchRootUIIfc root)
Installs the "panel" responsible for handling selection of the root location for the search to be performed. |
void |
show()
Displays the ui. |
boolean |
showConfirmInterrupt()
Shows the user a confirmation prompt to determine if the currently executing search should be stopped. |
void |
showLoadError()
Display an error for the user indicating that the load process failed. |
void |
showNoCommonSupportError()
Displays the an error indicating that there is no single search pattern supported by both the search plug-in and the selected filter/action plug-ins. |
void |
showStatusMessage(java.lang.String message)
Displays feedback to the user, such as in the status bar of a window. |
void |
updateUI()
Updates the user interface to reflect any changes that may have occurred in the model. |
| Methods inherited from class javax.swing.JFrame |
getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, update |
| Methods inherited from class java.awt.Frame |
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.awt.Window |
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, toBack, toFront |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
| Constructor Detail |
public DefaultSearchUI()
| Method Detail |
public StartupUIIfc getStartupUI()
getStartupUI in interface SearchUIIfcpublic void setSearchRootUI(SearchRootUIIfc root)
SearchUIIfc
setSearchRootUI in interface SearchUIIfcpublic void show()
SearchUIIfc
show in interface SearchUIIfcshow in class java.awt.Windowpublic void dispose()
SearchUIIfc
dispose in interface SearchUIIfcdispose in class java.awt.Windowpublic void updateUI()
SearchUIIfc
updateUI in interface SearchUIIfcpublic void setFiltersModel(PluginCollection model)
SearchUIIfc
setFiltersModel in interface SearchUIIfcpublic void setActionsModel(PluginCollection model)
SearchUIIfc
setActionsModel in interface SearchUIIfc
public void addFilterUI(int index,
java.awt.Component c,
java.lang.String title)
SearchUIIfc
addFilterUI in interface SearchUIIfc
public void addActionUI(int index,
java.awt.Component c,
java.lang.String title)
SearchUIIfc
addActionUI in interface SearchUIIfcpublic void setFilterSummary(java.lang.String message)
SearchUIIfc
setFilterSummary in interface SearchUIIfcpublic void setActionSummary(java.lang.String message)
SearchUIIfc
setActionSummary in interface SearchUIIfcpublic void removeFilterUI(java.awt.Component c)
SearchUIIfc
removeFilterUI in interface SearchUIIfcpublic void removeActionUI(java.awt.Component c)
SearchUIIfc
removeActionUI in interface SearchUIIfcpublic void setAppTitle(java.lang.String title)
SearchUIIfc
setAppTitle in interface SearchUIIfcpublic void showStatusMessage(java.lang.String message)
SearchUIIfc
showStatusMessage in interface SearchUIIfcpublic void showNoCommonSupportError()
SearchUIIfc
showNoCommonSupportError in interface SearchUIIfcpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void setController(AppControllerIfc controller)
SearchUIIfc
setController in interface SearchUIIfcpublic void disableForSearch()
SearchUIIfc
disableForSearch in interface SearchUIIfcpublic void enableAfterSearch()
SearchUIIfc
enableAfterSearch in interface SearchUIIfcpublic java.io.File getSaveToLocation()
SearchUIIfc
getSaveToLocation in interface SearchUIIfcpublic java.io.File getOpenFromLocation()
SearchUIIfc
getOpenFromLocation in interface SearchUIIfcpublic boolean showConfirmInterrupt()
SearchUIIfc
showConfirmInterrupt in interface SearchUIIfcpublic void showLoadError()
SearchUIIfc
showLoadError in interface SearchUIIfcpublic void doShowStatusMessage(java.lang.String message)
public void dragEnter(java.awt.dnd.DropTargetDragEvent dtde)
dragEnter in interface java.awt.dnd.DropTargetListenerpublic void dragOver(java.awt.dnd.DropTargetDragEvent dtde)
dragOver in interface java.awt.dnd.DropTargetListenerpublic void dropActionChanged(java.awt.dnd.DropTargetDragEvent dtde)
dropActionChanged in interface java.awt.dnd.DropTargetListenerpublic void dragExit(java.awt.dnd.DropTargetEvent dte)
dragExit in interface java.awt.dnd.DropTargetListenerpublic void drop(java.awt.dnd.DropTargetDropEvent dtde)
drop in interface java.awt.dnd.DropTargetListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||