de.cau.cs.kieler.kiml.layout.klayoutdata
Interface KShapeLayout

All Superinterfaces:
EObject, KGraphData, KLayoutData, Notifier
All Known Implementing Classes:
KShapeLayoutImpl

public interface KShapeLayout
extends KLayoutData

A representation of the model object 'Shape Layout'. This layout data contains information for graph elements for which rectangular shape is assumed for layout, such as nodes, ports, and labels.

Layout coordinates for nodes, ports, and node labels are relative to the position of the parent node. For edge labels the rules defined in KEdgeLayout apply. Port labels are relative to their ports.

The following features are supported:

See Also:
KLayoutDataPackage.getKShapeLayout()
Rating red
Generated:
This code was automatically generated.
Model element

Method Summary
 float getHeight()
          Returns the value of the 'Height' attribute.
 float getWidth()
          Returns the value of the 'Width' attribute.
 float getXpos()
          Returns the value of the 'Xpos' attribute.
 float getYpos()
          Returns the value of the 'Ypos' attribute.
 void setHeight(float value)
          Sets the value of the 'Height' attribute.
 void setWidth(float value)
          Sets the value of the 'Width' attribute.
 void setXpos(float value)
          Sets the value of the 'Xpos' attribute.
 void setYpos(float value)
          Sets the value of the 'Ypos' attribute.
 
Methods inherited from interface de.cau.cs.kieler.kiml.layout.klayoutdata.KLayoutData
getOption, getOptions
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getXpos

float getXpos()
Returns the value of the 'Xpos' attribute. The default value is "0.0f".

Returns:
the value of the 'Xpos' attribute.
See Also:
setXpos(float), KLayoutDataPackage.getKShapeLayout_Xpos()
Generated:
This code was automatically generated.
Model element:
default=0.0f

setXpos

void setXpos(float value)
Sets the value of the 'Xpos' attribute.

Parameters:
value - the new value of the 'Xpos' attribute.
See Also:
getXpos()
Generated:
This code was automatically generated.

getYpos

float getYpos()
Returns the value of the 'Ypos' attribute. The default value is "0.0f".

Returns:
the value of the 'Ypos' attribute.
See Also:
setYpos(float), KLayoutDataPackage.getKShapeLayout_Ypos()
Generated:
This code was automatically generated.
Model element:
default=0.0f

setYpos

void setYpos(float value)
Sets the value of the 'Ypos' attribute.

Parameters:
value - the new value of the 'Ypos' attribute.
See Also:
getYpos()
Generated:
This code was automatically generated.

getWidth

float getWidth()
Returns the value of the 'Width' attribute. The default value is "0.0f".

Returns:
the value of the 'Width' attribute.
See Also:
setWidth(float), KLayoutDataPackage.getKShapeLayout_Width()
Generated:
This code was automatically generated.
Model element:
default=0.0f

setWidth

void setWidth(float value)
Sets the value of the 'Width' attribute.

Parameters:
value - the new value of the 'Width' attribute.
See Also:
getWidth()
Generated:
This code was automatically generated.

getHeight

float getHeight()
Returns the value of the 'Height' attribute. The default value is "0.0f".

Returns:
the value of the 'Height' attribute.
See Also:
setHeight(float), KLayoutDataPackage.getKShapeLayout_Height()
Generated:
This code was automatically generated.
Model element:
default=0.0f

setHeight

void setHeight(float value)
Sets the value of the 'Height' attribute.

Parameters:
value - the new value of the 'Height' attribute.
See Also:
getHeight()
Generated:
This code was automatically generated.