Interface ManualLayout
- All Known Implementing Classes:
XSSFManualLayout
Deprecated.
use XDDFManualLayout instead
High level representation of chart element manual layout.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns current height mode of thisdoubleDeprecated.Returns current fraction of the height of the chart.Deprecated.Returns current layout target.Deprecated.Returns current width mode of this manual layout.doubleDeprecated.Returns current fraction of the width of the chart.doublegetX()Deprecated.Returns the x location of the chart element.getXMode()Deprecated.Returns current x-coordinnate layout mode.doublegetY()Deprecated.Returns current y location of the chart element.getYMode()Deprecated.Returns current y-coordinate layout mode.voidsetHeightMode(LayoutMode mode) Deprecated.Specifies how to interpret the Height element for this manual layout.voidsetHeightRatio(double ratio) Deprecated.Specifies the height (if Height Mode is Factor) or bottom (if Height Mode is edge) of the chart element as a fraction of the height of the chart.voidsetTarget(LayoutTarget target) Deprecated.Sets the layout target.voidsetWidthMode(LayoutMode mode) Deprecated.Specifies how to interpret the Width element for this manual layout.voidsetWidthRatio(double ratio) Deprecated.Specifies the width (if Width Mode is Factor) or right (if Width Mode is Edge) of the chart element as a fraction of the width of the chart.voidsetX(double x) Deprecated.Specifies the x location (left) of the chart element as a fraction of the width of the chart.voidsetXMode(LayoutMode mode) Deprecated.Sets the x-coordinate layout mode.voidsetY(double y) Deprecated.Specifies the y location (top) of the chart element as a fraction of the height of the chart.voidsetYMode(LayoutMode mode) Deprecated.Sets the y-coordinate layout mode.
-
Method Details
-
setTarget
Deprecated.Sets the layout target.- Parameters:
target- new layout target.
-
getTarget
LayoutTarget getTarget()Deprecated.Returns current layout target.- Returns:
- current layout target
-
setXMode
Deprecated.Sets the x-coordinate layout mode.- Parameters:
mode- new x-coordinate layout mode.
-
getXMode
LayoutMode getXMode()Deprecated.Returns current x-coordinnate layout mode.- Returns:
- current x-coordinate layout mode.
-
setYMode
Deprecated.Sets the y-coordinate layout mode.- Parameters:
mode- new y-coordinate layout mode.
-
getYMode
LayoutMode getYMode()Deprecated.Returns current y-coordinate layout mode.- Returns:
- current y-coordinate layout mode.
-
getX
double getX()Deprecated.Returns the x location of the chart element.- Returns:
- the x location (left) of the chart element or 0.0 if not set.
-
setX
void setX(double x) Deprecated.Specifies the x location (left) of the chart element as a fraction of the width of the chart. If Left Mode is Factor, then the position is relative to the default position for the chart element. -
getY
double getY()Deprecated.Returns current y location of the chart element.- Returns:
- the y location (top) of the chart element or 0.0 if not set.
-
setY
void setY(double y) Deprecated.Specifies the y location (top) of the chart element as a fraction of the height of the chart. If Top Mode is Factor, then the position is relative to the default position for the chart element. -
setWidthMode
Deprecated.Specifies how to interpret the Width element for this manual layout.- Parameters:
mode- new width layout mode of this manual layout.
-
getWidthMode
LayoutMode getWidthMode()Deprecated.Returns current width mode of this manual layout.- Returns:
- width mode of this manual layout.
-
setHeightMode
Deprecated.Specifies how to interpret the Height element for this manual layout.- Parameters:
mode- new height mode of this manual layout.
-
getHeightMode
LayoutMode getHeightMode()Deprecated.Returns current height mode of this- Returns:
- height mode of this manual layout.
-
setWidthRatio
void setWidthRatio(double ratio) Deprecated.Specifies the width (if Width Mode is Factor) or right (if Width Mode is Edge) of the chart element as a fraction of the width of the chart.- Parameters:
ratio- a fraction of the width of the chart.
-
getWidthRatio
double getWidthRatio()Deprecated.Returns current fraction of the width of the chart.- Returns:
- fraction of the width of the chart or 0.0 if not set.
-
setHeightRatio
void setHeightRatio(double ratio) Deprecated.Specifies the height (if Height Mode is Factor) or bottom (if Height Mode is edge) of the chart element as a fraction of the height of the chart.- Parameters:
ratio- a fraction of the height of the chart.
-
getHeightRatio
double getHeightRatio()Deprecated.Returns current fraction of the height of the chart.- Returns:
- fraction of the height of the chart or 0.0 if not set.
-