|
||||||||||
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.FilterEntryView.FilterEntryHandle
cz.cmc.tcgui.FilterView.FilterHandle
Title: class FilterHandle
Description: Handle for filter heads.
Copyright: Copyright (c) 2003
Company: CMC Computers
Field Summary | |
protected Rectangle |
drawed
Drawed position for inserting element. |
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 | |
FilterView.FilterHandle(org.jgraph.graph.GraphContext ctx)
Constructs new FilterHandle |
Method Summary | |
protected TCPort |
getMatchingPort(TCObject tco)
Get matching port of the counterpart TCObject when connecting |
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. |
protected Rectangle |
moved(Graphics g,
Rectangle bounds)
Handle movement of the filter element. |
protected void |
movingDone(Rectangle bounds)
If handleMove() is true, this is called when the cell movement is done. |
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, overlay, resized, resizingDone, startConnecting, updateConnect |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected transient Rectangle drawed
Constructor Detail |
public FilterView.FilterHandle(org.jgraph.graph.GraphContext ctx)
ctx
- GraphContext to construct handle forMethod Detail |
protected Rectangle moved(Graphics g, Rectangle bounds)
moved
in class TCObjectView.TCObjectHandle
g
- Graphics that may be used for paintingbounds
- current bounds of the cell
TCObjectView.TCObjectHandle.handleMove()
protected void movingDone(Rectangle bounds)
movingDone
in class TCObjectView.TCObjectHandle
bounds
- new bounds of the cellpublic void paint(Graphics g)
paint
in interface org.jgraph.graph.CellHandle
paint
in class FilterEntryView.FilterEntryHandle
g
- Graphics to paint onprotected TCPort getMatchingPort(TCObject tco)
getMatchingPort
in class TCObjectView.TCObjectHandle
tco
- TCObject to get matching port for
public void mouseMoved(MouseEvent event)
mouseMoved
in interface org.jgraph.graph.CellHandle
mouseMoved
in class FilterEntryView.FilterEntryHandle
public void mousePressed(MouseEvent event)
mousePressed
in interface org.jgraph.graph.CellHandle
mousePressed
in class TCObjectView.TCObjectHandle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |