de.erichseifert.gral.graphics.layout
Class AbstractLayout
- java.lang.Object
-
- de.erichseifert.gral.graphics.layout.AbstractLayout
-
- All Implemented Interfaces:
- Layout, java.io.Serializable
- Direct Known Subclasses:
- AbstractOrientedLayout, EdgeLayout, OuterEdgeLayout, TableLayout
public abstract class AbstractLayout extends java.lang.Object implements Layout
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description AbstractLayout(double gapX, double gapY)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublegetGapX()Returns the amount of horizontal space between two layed out components.doublegetGapY()Returns the amount of vertical space between two layed out components.voidsetGapX(double gapX)Sets the amount of horizontal space between two layed out components.voidsetGapY(double gapY)Sets the amount of horizontal space between two layed out components.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.erichseifert.gral.graphics.layout.Layout
getPreferredSize, layout
-
-
-
-
Method Detail
-
getGapX
public double getGapX()
Description copied from interface:LayoutReturns the amount of horizontal space between two layed out components.
-
setGapX
public void setGapX(double gapX)
Description copied from interface:LayoutSets the amount of horizontal space between two layed out components.
-
getGapY
public double getGapY()
Description copied from interface:LayoutReturns the amount of vertical space between two layed out components.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG