org.jgraph.pad
Interface VertexnPortsCreatorInterface

All Known Implementing Classes:
AbstractDefaultVertexnPortsCreator

public interface VertexnPortsCreatorInterface

An interface that specify the required methods for creating a cell Don't worry, you won't need to implement all of these methods since some have just a convenient default implementation in AbstractDefaultVertexnPortsCreator


Method Summary
 void addVertexnPorts(java.awt.geom.Rectangle2D bounds, GPGraphpad graphpad)
           
 javax.swing.JToggleButton getButton()
           
 java.lang.String getCellType()
           
 java.lang.String getModelType()
           
 java.lang.String[] getPortNames()
           
 double[] getXPortsList()
           
 double[] getYPortsList()
           
 boolean hasFlottingPort()
           
 void setGraphpad(GPGraphpad graphpad)
           
 

Method Detail

getXPortsList

public double[] getXPortsList()

getYPortsList

public double[] getYPortsList()

getPortNames

public java.lang.String[] getPortNames()

hasFlottingPort

public boolean hasFlottingPort()

getCellType

public java.lang.String getCellType()

getModelType

public java.lang.String getModelType()

getButton

public javax.swing.JToggleButton getButton()

setGraphpad

public void setGraphpad(GPGraphpad graphpad)

addVertexnPorts

public void addVertexnPorts(java.awt.geom.Rectangle2D bounds,
                            GPGraphpad graphpad)