|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgraph.graph.BasicMarqueeHandler
cz.cmc.tcgui.TCMarqueeHandler
Title: Class TCMarqueeHandler
Description: Marquee handler for TC editing
Copyright: Copyright (c) 2003
Company: CMC Computers
Field Summary | |
protected Point |
current
Holds the Start and the Current Point |
protected org.jgraph.graph.PortView |
firstPort
Holds the First and the Current Port |
protected boolean |
popupCellPressed
Whether the popup button is pressed over a cell |
protected org.jgraph.graph.PortView |
port
Holds the First and the Current Port |
protected Point |
start
Holds the Start and the Current Point |
Fields inherited from class org.jgraph.graph.BasicMarqueeHandler |
currentPoint, marqueeBounds, previousCursor, startPoint |
Method Summary | |
boolean |
isAddToSelectionEvent(MouseEvent e)
|
boolean |
isForceMarqueeEvent(MouseEvent e)
Overriden to Gain Control (for PopupMenu and ConnectMode) |
protected boolean |
isPopupTrigger(MouseEvent e)
|
boolean |
isToggleSelectionEvent(MouseEvent e)
|
void |
mouseDragged(MouseEvent e)
|
void |
mousePressed(MouseEvent e)
|
void |
mouseReleased(MouseEvent e)
|
Methods inherited from class org.jgraph.graph.BasicMarqueeHandler |
getCurrentPoint, getMarqueeBounds, getPreviousCursor, getStartPoint, mouseMoved, overlay, paint, setCurrentPoint, setMarqueeBounds, setPreviousCursor, setStartPoint |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Point start
protected Point current
protected org.jgraph.graph.PortView port
protected org.jgraph.graph.PortView firstPort
protected boolean popupCellPressed
Method Detail |
protected boolean isPopupTrigger(MouseEvent e)
e
- MouseEvent to decide whether it creates and popup event
public boolean isToggleSelectionEvent(MouseEvent e)
e
- MouseEvent to make decision for
public boolean isAddToSelectionEvent(MouseEvent e)
e
- MouseEvent to make decision for
public boolean isForceMarqueeEvent(MouseEvent e)
public void mousePressed(MouseEvent e)
public void mouseReleased(MouseEvent e)
public void mouseDragged(MouseEvent e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |