com.hp.hpl.guess.piccolo
Interface GuessPNode

All Superinterfaces:
GraphElementListener, NodeListener
All Known Implementing Classes:
GuessImageNode, GuessShapeNode, GuessTextNode

public interface GuessPNode
extends NodeListener


Method Summary
 void addHullListener(ConvexHullNode chn)
           
 void centerDisplay()
           
 Point2D[] getAllPorts()
           
 double getDrawHeight()
           
 double getDrawWidth()
           
 double getHeight()
           
 Node getOwner()
           
 Paint getPaint()
           
 Point2D[] getPrefPorts()
           
 int getStyle()
           
 double getWidth()
           
 double getX()
           
 double getY()
           
 void inTransition(double x, double y)
           
 void mouseClicked(PInputEvent e)
           
 void mouseEntered(PInputEvent e)
           
 void mouseExited(PInputEvent e)
           
 void moveDone(double x, double y)
           
 void removeHullListener(ConvexHullNode chn)
           
 void setColor(Color color)
           
 void setShape(Shape shape, int style)
           
 void setStyle(int style)
           
 
Methods inherited from interface com.hp.hpl.guess.ui.NodeListener
setLocation, setLocation
 
Methods inherited from interface com.hp.hpl.guess.ui.GraphElementListener
get, highlight, set
 

Method Detail

getOwner

public Node getOwner()

moveDone

public void moveDone(double x,
                     double y)

inTransition

public void inTransition(double x,
                         double y)

mouseEntered

public void mouseEntered(PInputEvent e)

mouseExited

public void mouseExited(PInputEvent e)

mouseClicked

public void mouseClicked(PInputEvent e)

getDrawWidth

public double getDrawWidth()

getDrawHeight

public double getDrawHeight()

getX

public double getX()

getY

public double getY()

getWidth

public double getWidth()

getHeight

public double getHeight()

setColor

public void setColor(Color color)

setStyle

public void setStyle(int style)

getStyle

public int getStyle()

setShape

public void setShape(Shape shape,
                     int style)

getPaint

public Paint getPaint()

addHullListener

public void addHullListener(ConvexHullNode chn)

removeHullListener

public void removeHullListener(ConvexHullNode chn)

getPrefPorts

public Point2D[] getPrefPorts()

getAllPorts

public Point2D[] getAllPorts()

centerDisplay

public void centerDisplay()