|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.cmc.tcgui.TCObjectView.TCObjectHandle
cz.cmc.tcgui.ClassView.ClassHandle
Title: class ClassHandle
Description: Handle for Class.
Copyright: Copyright (c) 2003
Company: CMC Computers
| Field Summary |
| Fields inherited from class cz.cmc.tcgui.TCObjectView.TCObjectHandle |
cachedBounds, CONNECT_HANDLE, context, contextViews, currentPoint, currentPort, dragged, firstDrag, firstOverlayInvocation, firstPoint, firstPort, graph, handle, initialBounds, MOVE_HANDLE, NO_HANDLE, offgraphics, offscreen, originOffsetX, originOffsetY, portViews, r |
| Constructor Summary | |
ClassView.ClassHandle(org.jgraph.graph.GraphContext ctx)
Constructs new QDiscHandle |
|
| Method Summary | |
protected TCPort |
getMatchingPort(TCObject tco)
Get matching port of the counterpart TCObject when connecting |
boolean |
isInClassInputHandle(Point p)
|
boolean |
isInSubclassOutputHandle(Point p)
|
void |
mouseMoved(MouseEvent event)
Invoked when the mouse pointer has been moved on a component (with no buttons down). |
void |
mousePressed(MouseEvent event)
Process mouse pressed event. |
void |
paint(Graphics g)
Paint the handle |
| Methods inherited from class cz.cmc.tcgui.TCObjectView.TCObjectHandle |
computeBounds, connect, connectionAllowed, handleMove, handleResize, initOffscreen, makeBoundEdit, mouseDragged, mouseReleased, moved, movingDone, overlay, resized, resizingDone, startConnecting, updateConnect |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ClassView.ClassHandle(org.jgraph.graph.GraphContext ctx)
ctx - GraphContext to construct handle for| Method Detail |
public void paint(Graphics g)
paint in interface org.jgraph.graph.CellHandlepaint in class TCObjectView.TCObjectHandleg - Graphics to paint onpublic boolean isInClassInputHandle(Point p)
public boolean isInSubclassOutputHandle(Point p)
protected TCPort getMatchingPort(TCObject tco)
getMatchingPort in class TCObjectView.TCObjectHandletco - TCObject to get matching port for
public void mouseMoved(MouseEvent event)
mouseMoved in interface org.jgraph.graph.CellHandlemouseMoved in class TCObjectView.TCObjectHandlepublic void mousePressed(MouseEvent event)
mousePressed in interface org.jgraph.graph.CellHandlemousePressed in class TCObjectView.TCObjectHandle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||