|
|||||||||||
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 | +--edu.isi.powerloom.gui.components.PowerloomApp
Main class for the Powerloom GUI application. Contains all application frame code such as setting up menus, etc. Also contains code and data which is common to the entire application.
Nested Class Summary |
Nested classes inherited from class javax.swing.JFrame |
javax.swing.JFrame.AccessibleJFrame |
Nested classes inherited from class java.awt.Frame |
java.awt.Frame.AccessibleAWTFrame |
Nested classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
static boolean |
DEVELOPMENT_MODE
|
static java.lang.String |
HELP_URL
|
PLModule |
mostRecentlyTouchedModule
|
static java.lang.String |
RESOURCE_BASE_PATH
|
Fields inherited from class javax.swing.JFrame |
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
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 | |
PowerloomApp()
PowerloomApp constructor comment. |
|
PowerloomApp(java.lang.String title)
PowerloomApp constructor comment. |
Method Summary | |
void |
addPLEditListener(PLEditListener listener)
Edit Listeners management |
void |
backMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
|
void |
browseMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment |
void |
clearModuleMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment |
void |
connectMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment |
void |
demoThemeMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
|
void |
displayFrame(javax.swing.JInternalFrame frame)
Register, position, and show frame |
void |
doActionOnCurrentlySelectedComponent()
|
boolean |
doStartup()
Insert the method's description here. |
void |
editMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment |
void |
expressionMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment |
void |
extensionMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
|
protected void |
fireEditPerformed(PLEditEvent event)
|
void |
flashMessage(javax.swing.JLabel component,
java.lang.String msg,
int flashTimes,
int flashDelay)
Display flashing message in a JLabel, such as a status bar |
void |
flashStatusMessage2(java.lang.String msg)
|
void |
forwardMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
|
java.util.Collection |
getBrowserFrames()
Insert the method's description here. |
java.util.Collection |
getConceptFrames()
Insert the method's description here. |
boolean |
getDoingRightClickMenu()
|
java.util.Collection |
getEditListeners()
|
static javax.swing.ImageIcon |
getImage(java.lang.String path)
|
static PowerloomApp |
getInstance()
Singleton get method |
java.util.Collection |
getInstanceFrames()
Insert the method's description here. |
PLModule |
getMostRecentlyTouchedModule()
Insert the method's description here. |
PLObject |
getMostRecentlyTouchedObject()
|
java.util.Collection |
getPropositionFrames()
|
javax.swing.JDesktopPane |
getPubJDesktopPane()
Insert the method's description here. |
java.util.Collection |
getRelationFrames()
Insert the method's description here. |
ActionComponent |
getSelectedActionComponent()
|
BrowserFrame4 |
getSelectedBrowserFrame()
Insert the method's description here. |
ExpressionEditorPanel |
getSelectedEditor()
|
EditInstanceCellPanel |
getSelectedInstanceCellEditor()
|
PLServerInfo |
getServerInfo()
|
javax.swing.JLabel |
getStatusMsg2()
Return the StatusMsg2 property value. |
BrowserFrame4 |
getTopmostBrowserFrame()
|
javax.swing.JInternalFrame |
getTopmostFrame()
|
javax.swing.JMenu |
getWindowMenu()
|
void |
handleException(java.lang.Throwable exception)
Called whenever the part throws an exception. |
void |
help_TopicsMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
|
void |
localLoadMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment |
void |
localSaveMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment |
static void |
main(java.lang.String[] args)
Starts the application. |
void |
metalThemeMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
|
void |
newConcept2MenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment |
void |
newInstanceMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment |
void |
newModuleMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment |
void |
newPropositionMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment |
void |
newRelationMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment |
void |
newRuleMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment |
void |
openConsoleMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
|
void |
positionFrame(javax.swing.JInternalFrame frame)
Insert the method's description here. |
void |
preferencesMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment |
void |
queryMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment |
void |
refreshMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
|
void |
remoteLoadMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment |
void |
remoteSaveMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment |
void |
removePLEditListener(PLEditListener listener)
|
void |
scrapbookMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment |
void |
searchMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment |
void |
setBrowserFrames(java.util.Collection newBrowserFrames)
Insert the method's description here. |
void |
setConceptFrames(java.util.Collection newConceptFrames)
Insert the method's description here. |
void |
setDoingRightClickMenu(boolean doingIt)
|
void |
setInstanceFrames(java.util.Collection newInstanceFrames)
Insert the method's description here. |
void |
setMostRecentlyTouchedModule(PLModule newMostRecentlyTouchedModule)
Insert the method's description here. |
void |
setMostRecentlyTouchedObject(PLObject object)
|
void |
setRelationFrames(java.util.Collection newRelationFrames)
Insert the method's description here. |
void |
setSelectedActionComponent(ActionComponent component)
|
void |
setSelectedEditor(ExpressionEditorPanel editor)
|
void |
setSelectedInstanceCellEditor(EditInstanceCellPanel editor)
|
void |
showAboutBox()
|
void |
updateNavigationMenuState(PowerloomTrees trees)
|
void |
viewStatusBar()
|
void |
viewToolBar()
|
Methods inherited from class javax.swing.JFrame |
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update |
Methods inherited from class java.awt.Frame |
addNotify, finalize, 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, dispose, 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, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, show, 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, processContainerEvent, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, 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, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, 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 |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
Field Detail |
public static final boolean DEVELOPMENT_MODE
public static final java.lang.String RESOURCE_BASE_PATH
public static final java.lang.String HELP_URL
public PLModule mostRecentlyTouchedModule
Constructor Detail |
public PowerloomApp()
public PowerloomApp(java.lang.String title)
title
- java.lang.StringMethod Detail |
public void setSelectedEditor(ExpressionEditorPanel editor)
public ExpressionEditorPanel getSelectedEditor()
public void setSelectedInstanceCellEditor(EditInstanceCellPanel editor)
public EditInstanceCellPanel getSelectedInstanceCellEditor()
public void setSelectedActionComponent(ActionComponent component)
public ActionComponent getSelectedActionComponent()
public void doActionOnCurrentlySelectedComponent()
public void displayFrame(javax.swing.JInternalFrame frame)
public void browseMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void clearModuleMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void connectMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void openConsoleMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void help_TopicsMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public PLServerInfo getServerInfo()
public boolean doStartup()
public void refreshMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void backMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void forwardMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void editMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void expressionMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public java.util.Collection getBrowserFrames()
public java.util.Collection getConceptFrames()
public java.util.Collection getPropositionFrames()
public static javax.swing.ImageIcon getImage(java.lang.String path)
public javax.swing.JMenu getWindowMenu()
public java.util.Collection getInstanceFrames()
public PLModule getMostRecentlyTouchedModule()
public PLObject getMostRecentlyTouchedObject()
public javax.swing.JDesktopPane getPubJDesktopPane()
public java.util.Collection getRelationFrames()
public BrowserFrame4 getSelectedBrowserFrame()
public BrowserFrame4 getTopmostBrowserFrame()
public javax.swing.JInternalFrame getTopmostFrame()
public javax.swing.JLabel getStatusMsg2()
public void handleException(java.lang.Throwable exception)
exception
- java.lang.Throwablepublic void metalThemeMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void demoThemeMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void remoteLoadMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void remoteSaveMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void localLoadMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void localSaveMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public static void main(java.lang.String[] args)
args
- an array of command-line argumentspublic void newConcept2MenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void newInstanceMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void newModuleMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void newPropositionMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void newRelationMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void newRuleMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void positionFrame(javax.swing.JInternalFrame frame)
frame
- javax.swing.JInternalFramepublic void preferencesMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void queryMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void extensionMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void scrapbookMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void searchMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
public void setBrowserFrames(java.util.Collection newBrowserFrames)
newBrowserFrames
- java.util.Collectionpublic void setConceptFrames(java.util.Collection newConceptFrames)
newConceptFrames
- java.util.Collectionpublic void setInstanceFrames(java.util.Collection newInstanceFrames)
newInstanceFrames
- java.util.Collectionpublic void setMostRecentlyTouchedModule(PLModule newMostRecentlyTouchedModule)
newMostRecentlyTouchedModule
- edu.isi.powerloom.gui.xmlobject.PLModulepublic void setMostRecentlyTouchedObject(PLObject object)
public void updateNavigationMenuState(PowerloomTrees trees)
public void setRelationFrames(java.util.Collection newRelationFrames)
newRelationFrames
- java.util.Collectionpublic void showAboutBox()
public void viewStatusBar()
public void viewToolBar()
public void flashMessage(javax.swing.JLabel component, java.lang.String msg, int flashTimes, int flashDelay)
public void flashStatusMessage2(java.lang.String msg)
public void setDoingRightClickMenu(boolean doingIt)
public boolean getDoingRightClickMenu()
public static PowerloomApp getInstance()
public void addPLEditListener(PLEditListener listener)
public void removePLEditListener(PLEditListener listener)
protected void fireEditPerformed(PLEditEvent event)
public java.util.Collection getEditListeners()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |