|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.edu.agh.cast.schema.model.visual.SchemaConnectionBendpoint
public class SchemaConnectionBendpoint
Contains informations about bend point.
| Constructor Summary | |
|---|---|
SchemaConnectionBendpoint()
Default constructor. |
|
SchemaConnectionBendpoint(org.eclipse.draw2d.geometry.Dimension dim1,
org.eclipse.draw2d.geometry.Dimension dim2,
float pointWeight)
Constructor. |
|
| Method Summary | |
|---|---|
static SchemaConnectionBendpoint |
fromString(String value)
Deserailizes schema connection bend-point from string. |
org.eclipse.draw2d.geometry.Dimension |
getDimension1()
Returns first dimension of bend point. |
org.eclipse.draw2d.geometry.Dimension |
getDimension2()
Returns second dimension of bend point. |
float |
getWeight()
Gets weight of bend point. |
void |
setDimensions(org.eclipse.draw2d.geometry.Dimension dim1,
org.eclipse.draw2d.geometry.Dimension dim2)
Sets dimensions of bend point. |
void |
setWeight(float weight)
Sets weight of bend point. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SchemaConnectionBendpoint(org.eclipse.draw2d.geometry.Dimension dim1,
org.eclipse.draw2d.geometry.Dimension dim2,
float pointWeight)
dim1 - first dimensiondim2 - second dimensionpointWeight - weight of bend pointRelativeBendpoint.setRelativeDimensions(Dimension, Dimension),
RelativeBendpoint.setWeight(float)public SchemaConnectionBendpoint()
| Method Detail |
|---|
public org.eclipse.draw2d.geometry.Dimension getDimension1()
RelativeBendpoint.setRelativeDimensions(Dimension, Dimension)public org.eclipse.draw2d.geometry.Dimension getDimension2()
RelativeBendpoint.setRelativeDimensions(Dimension, Dimension)
public void setDimensions(org.eclipse.draw2d.geometry.Dimension dim1,
org.eclipse.draw2d.geometry.Dimension dim2)
dim1 - first dimensiondim2 - second dimensionRelativeBendpoint.setRelativeDimensions(Dimension, Dimension)public float getWeight()
RelativeBendpoint.setWeight(float)public void setWeight(float weight)
weight - the weight to setRelativeBendpoint.setWeight(float)public String toString()
toString in class ObjectObject.toString()public static SchemaConnectionBendpoint fromString(String value)
value - string value to be deserialized
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||