|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.jhotdraw.standard.StandardDrawingView
org.musoft.limo.drawing.ModelDrawingView
edu.udo.cs.miningmart.gui.application.MiningMartDrawingView
A ModelDrawingView for MiningMart with methods for adding MiningMartSelectionListener.
| Nested Class Summary |
| Nested classes inherited from class org.jhotdraw.standard.StandardDrawingView |
org.jhotdraw.standard.StandardDrawingView.DrawingViewKeyListener, org.jhotdraw.standard.StandardDrawingView.DrawingViewMouseListener, org.jhotdraw.standard.StandardDrawingView.DrawingViewMouseMotionListener |
| Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| 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 |
| Fields inherited from class org.jhotdraw.standard.StandardDrawingView |
MINIMUM_HEIGHT, MINIMUM_WIDTH, SCROLL_INCR, SCROLL_OFFSET |
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
MiningMartDrawingView(MiningMartApplication application)
Constructor for MiningMartDrawingView. |
|
| Method Summary | |
void |
addMiningMartSelectionListener(MiningMartSelectionListener listener)
Adds a MiningMartSelectionListener. |
void |
createCaseJPopupMenu(int x,
int y)
Creates a JPopupMenu and shows it at the specified coordinates. |
void |
createConceptJPopupMenu(int x,
int y)
Creates a JPopupMenu and shows it at the specified coordinates. |
protected void |
fireSelectionChanged()
The MiningMartSelectionListener are also informed. |
java.awt.Color |
getBackground()
|
MiningMartSelectionListener |
getMiningMartSelectionListener(int index)
Gets a MiningMartSelectionListener by the index. |
int |
getMiningMartSelectionListenerCount()
Gets the number of all MiningMartSelectionListener. |
void |
mouseClicked(java.awt.event.MouseEvent e)
Not used. |
void |
mouseEntered(java.awt.event.MouseEvent e)
Not used. |
void |
mouseExited(java.awt.event.MouseEvent e)
Not used. |
void |
mousePressed(java.awt.event.MouseEvent e)
|
void |
mouseReleased(java.awt.event.MouseEvent e)
Not used. |
void |
removeAllMiningMartSelectionListener()
Rmoves all MiningMartSelectionListener. |
void |
removeMiningMartSelectionListener(MiningMartSelectionListener listener)
Removes a MiningMartSelectionListener. |
| Methods inherited from class org.musoft.limo.drawing.ModelDrawingView |
checkSize, createKeyListener, drawBackground, getDrawingBounds, handleMouseEventException, hasGrid, isSelectOnly, setConstrainer, setDrawing, setSelectOnly |
| Methods inherited from class org.jhotdraw.standard.StandardDrawingView |
add, addAll, addBackground, addFigureSelectionListener, addForeground, addToSelection, addToSelectionAll, addToSelectionAll, addToSelectionImpl, autoscroll, checkDamage, checkMinimumSize, clearSelection, constrainPoint, createDisplayUpdate, createDNDHelper, createMouseListener, createMouseMotionListener, DNDDeinitialize, DNDInitialize, draw, drawAll, drawDrawing, drawHandles, drawing, drawingInvalidated, drawingRequestUpdate, drawingTitleChanged, drawPainters, editor, figureExists, findHandle, freezeView, getAutoscrollInsets, getBackgrounds, getConnectionFigures, getConstrainer, getDamage, getDefaultDNDActions, getDisplayUpdate, getDNDHelper, getDragSourceListener, getDrawingSize, getFigureSelection, getForegrounds, getMinimumSize, insertFigures, isFigureSelected, isFocusTraversable, isInteractive, isReadOnly, keyReleased, keyTyped, lastClick, paintComponent, remove, removeBackground, removeFigureSelectionListener, removeForeground, removeFromSelection, repairDamage, selection, selectionCount, selectionHandles, selectionZOrdered, setCursor, setDamage, setDisplayUpdate, setEditor, setLastClick, setReadOnly, toggleSelection, tool, toString, unfreezeView |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jhotdraw.framework.DrawingView |
createImage, getGraphics, getPreferredSize, getSize, paint, setBackground |
| Methods inherited from interface java.awt.image.ImageObserver |
imageUpdate |
| Constructor Detail |
public MiningMartDrawingView(MiningMartApplication application)
| Method Detail |
public void addMiningMartSelectionListener(MiningMartSelectionListener listener)
MiningMartSelectionListener.
public void removeMiningMartSelectionListener(MiningMartSelectionListener listener)
MiningMartSelectionListener.
public void removeAllMiningMartSelectionListener()
MiningMartSelectionListener.
public int getMiningMartSelectionListenerCount()
MiningMartSelectionListener.
public MiningMartSelectionListener getMiningMartSelectionListener(int index)
MiningMartSelectionListener by the index.
public java.awt.Color getBackground()
getBackground in interface org.jhotdraw.framework.DrawingViewComponent.getBackground()protected void fireSelectionChanged()
MiningMartSelectionListener are also informed.
CH.ifa.draw.standard.StandardDrawingView#fireSelectionChanged()public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenerMouseListener.mouseClicked(MouseEvent)public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface java.awt.event.MouseListenerMouseListener.mouseEntered(MouseEvent)public void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface java.awt.event.MouseListenerMouseListener.mouseExited(MouseEvent)public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenerMouseListener.mouseReleased(MouseEvent)public void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenerMouseListener.mousePressed(MouseEvent)
public void createCaseJPopupMenu(int x,
int y)
public void createConceptJPopupMenu(int x,
int y)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||