|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.xssf.usermodel.charts.XSSFManualLayout
@Beta public final class XSSFManualLayout
Represents a SpreadsheetML manual layout.
| Constructor Summary | |
|---|---|
XSSFManualLayout(org.openxmlformats.schemas.drawingml.x2006.chart.CTLayout ctLayout)
Create a new SpreadsheetML manual layout. |
|
XSSFManualLayout(XSSFChart chart)
Create a new SpreadsheetML manual layout for chart. |
|
| Method Summary | |
|---|---|
org.openxmlformats.schemas.drawingml.x2006.chart.CTManualLayout |
getCTManualLayout()
Return the underlying CTManualLayout bean. |
LayoutMode |
getHeightMode()
Returns current height mode of this |
double |
getHeightRatio()
Returns current fraction of the height of the chart. |
LayoutTarget |
getTarget()
Returns current layout target. |
LayoutMode |
getWidthMode()
Returns current width mode of this manual layout. |
double |
getWidthRatio()
Returns current fraction of the width of the chart. |
double |
getX()
Returns the x location of the chart element. |
LayoutMode |
getXMode()
Returns current x-coordinnate layout mode. |
double |
getY()
Returns current y location of the chart element. |
LayoutMode |
getYMode()
Returns current y-coordinate layout mode. |
void |
setHeightMode(LayoutMode mode)
Specifies how to interpret the Height element for this manual layout. |
void |
setHeightRatio(double ratio)
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. |
void |
setTarget(LayoutTarget target)
Sets the layout target. |
void |
setWidthMode(LayoutMode mode)
Specifies how to interpret the Width element for this manual layout. |
void |
setWidthRatio(double ratio)
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. |
void |
setX(double x)
Specifies the x location (left) of the chart element as a fraction of the width of the chart. |
void |
setXMode(LayoutMode mode)
Sets the x-coordinate layout mode. |
void |
setY(double y)
Specifies the y location (top) of the chart element as a fraction of the height of the chart. |
void |
setYMode(LayoutMode mode)
Sets the y-coordinate layout mode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XSSFManualLayout(org.openxmlformats.schemas.drawingml.x2006.chart.CTLayout ctLayout)
ctLayout - a Spreadsheet ML layout that should be used as base.public XSSFManualLayout(XSSFChart chart)
chart - a chart to create layout for.| Method Detail |
|---|
@Internal public org.openxmlformats.schemas.drawingml.x2006.chart.CTManualLayout getCTManualLayout()
public void setWidthRatio(double ratio)
ManualLayout
setWidthRatio in interface ManualLayoutratio - a fraction of the width of the chart.public double getWidthRatio()
ManualLayout
getWidthRatio in interface ManualLayoutpublic void setHeightRatio(double ratio)
ManualLayout
setHeightRatio in interface ManualLayoutratio - a fraction of the height of the chart.public double getHeightRatio()
ManualLayout
getHeightRatio in interface ManualLayoutpublic LayoutTarget getTarget()
ManualLayout
getTarget in interface ManualLayoutpublic void setTarget(LayoutTarget target)
ManualLayout
setTarget in interface ManualLayouttarget - new layout target.public LayoutMode getXMode()
ManualLayout
getXMode in interface ManualLayoutpublic void setXMode(LayoutMode mode)
ManualLayout
setXMode in interface ManualLayoutmode - new x-coordinate layout mode.public LayoutMode getYMode()
ManualLayout
getYMode in interface ManualLayoutpublic void setYMode(LayoutMode mode)
ManualLayout
setYMode in interface ManualLayoutmode - new y-coordinate layout mode.public double getX()
ManualLayout
getX in interface ManualLayoutpublic void setX(double x)
ManualLayout
setX in interface ManualLayoutpublic double getY()
ManualLayout
getY in interface ManualLayoutpublic void setY(double y)
ManualLayout
setY in interface ManualLayoutpublic LayoutMode getWidthMode()
ManualLayout
getWidthMode in interface ManualLayoutpublic void setWidthMode(LayoutMode mode)
ManualLayout
setWidthMode in interface ManualLayoutmode - new width layout mode of this manual layout.public LayoutMode getHeightMode()
ManualLayout
getHeightMode in interface ManualLayoutpublic void setHeightMode(LayoutMode mode)
ManualLayout
setHeightMode in interface ManualLayoutmode - new height mode of this manual layout.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||