|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.edu.agh.cast.zestalgorithms.core.LayoutEntityAdapter
public class LayoutEntityAdapter
Adapts interface of ISchemaNode to a LayoutEntity.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.zest.layouts.LayoutEntity |
|---|
ATTR_PREFERRED_HEIGHT, ATTR_PREFERRED_WIDTH |
| Constructor Summary | |
|---|---|
LayoutEntityAdapter(ISchemaNode node)
Constructs new adapter for given node |
|
| Method Summary | |
|---|---|
int |
compareTo(Object arg)
|
Object |
getGraphData()
|
double |
getHeightInLayout()
|
Object |
getLayoutInformation()
|
double |
getWidthInLayout()
|
double |
getXInLayout()
|
double |
getYInLayout()
|
void |
populateLayoutConstraint(org.eclipse.zest.layouts.constraints.LayoutConstraint arg0)
|
void |
setGraphData(Object arg0)
Required by LayoutEntity. |
void |
setLayoutInformation(Object layoutInformation)
|
void |
setLocationInLayout(double x,
double y)
Sets new position of the node Warning! coordinates will be casted to int |
void |
setSizeInLayout(double x,
double y)
Sets new position of the node Warning! coordinates will be casted to int |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LayoutEntityAdapter(ISchemaNode node)
node - Node which is going to be adapted to ZEST model| Method Detail |
|---|
public double getHeightInLayout()
getHeightInLayout in interface org.eclipse.zest.layouts.LayoutEntitypublic double getWidthInLayout()
getWidthInLayout in interface org.eclipse.zest.layouts.LayoutEntitypublic double getXInLayout()
getXInLayout in interface org.eclipse.zest.layouts.LayoutEntitypublic double getYInLayout()
getYInLayout in interface org.eclipse.zest.layouts.LayoutEntitypublic Object getLayoutInformation()
getLayoutInformation in interface org.eclipse.zest.layouts.LayoutEntitypublic void populateLayoutConstraint(org.eclipse.zest.layouts.constraints.LayoutConstraint arg0)
populateLayoutConstraint in interface org.eclipse.zest.layouts.LayoutEntitypublic void setLayoutInformation(Object layoutInformation)
setLayoutInformation in interface org.eclipse.zest.layouts.LayoutEntity
public void setLocationInLayout(double x,
double y)
setLocationInLayout in interface org.eclipse.zest.layouts.LayoutEntity
public void setSizeInLayout(double x,
double y)
setSizeInLayout in interface org.eclipse.zest.layouts.LayoutEntitypublic int compareTo(Object arg)
compareTo in interface Comparablepublic Object getGraphData()
getGraphData in interface org.eclipse.zest.layouts.LayoutItempublic void setGraphData(Object arg0)
LayoutEntity. Does nothing.
setGraphData in interface org.eclipse.zest.layouts.LayoutItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||