|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcage.viewer.TwoView
public class TwoView
| Field Summary | |
|---|---|
static boolean |
debug
|
| Constructor Summary | |
|---|---|
TwoView()
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
beginEdges()
|
void |
beginGraph()
|
void |
beginVertices()
|
int |
getDimension()
Returns the dimension which is needed for this outlet. |
float |
getEdgeBrightness()
|
static void |
main(java.lang.String[] argv)
|
void |
outputResult(CaGeResult result)
Does the actual output of a result. |
void |
paintEdge(double x1,
double y1,
double x2,
double y2,
int v1,
int v2)
|
void |
paintVertex(double x,
double y,
int number)
|
void |
savePostScript()
|
void |
savePSButtonPressed()
|
void |
setDimension(int dimension)
Sets the dimension for which this outlet will be used. |
void |
setEdgeBrightness(float edgeBrightness)
|
void |
setGeneratorInfo(GeneratorInfo generatorInfo)
Sets the generator info provided for this outlet. |
void |
setResultPanel(ResultPanel resultPanel)
Sets the ResultPanel connected with this viewer. |
void |
setVisible(boolean isVisible)
|
void |
stop()
Called when this outlet is no longer needed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean debug
| Constructor Detail |
|---|
public TwoView()
| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void savePSButtonPressed()
public void setEdgeBrightness(float edgeBrightness)
public float getEdgeBrightness()
public void setDimension(int dimension)
CaGeOutletRunTimeException when d is an unsupported
dimension.
setDimension in interface CaGeOutletdimension - The dimension for which this outlet will be usedpublic int getDimension()
CaGeOutlet
getDimension in interface CaGeOutletpublic void setResultPanel(ResultPanel resultPanel)
CaGeViewerResultPanel connected with this viewer. Some
viewer need this to reembed the shown graph.
setResultPanel in interface CaGeViewerpublic void setGeneratorInfo(GeneratorInfo generatorInfo)
CaGeOutletGeneratorInfo.isReembed2DEnabled().
setGeneratorInfo in interface CaGeOutletgeneratorInfo - the generator info provided for this outletpublic void setVisible(boolean isVisible)
setVisible in interface CaGeViewerpublic void outputResult(CaGeResult result)
CaGeOutletCaGeResult object, as input and performs the method
of output specific to this outlet.
outputResult in interface CaGeOutletresult - a CaGeResult object that needs to be
outputted.public void stop()
CaGeOutlet
stop in interface CaGeOutletpublic void savePostScript()
public void beginGraph()
beginGraph in interface TwoViewDevicepublic void beginEdges()
beginEdges in interface TwoViewDevice
public void paintEdge(double x1,
double y1,
double x2,
double y2,
int v1,
int v2)
paintEdge in interface TwoViewDevicepublic void beginVertices()
beginVertices in interface TwoViewDevice
public void paintVertex(double x,
double y,
int number)
paintVertex in interface TwoViewDevice
public static void main(java.lang.String[] argv)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||