|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.ss.util.DataMarker
public class DataMarker
Represents data marker used in charts.
Constructor Summary | |
---|---|
DataMarker(Sheet sheet,
CellRangeAddress range)
|
Method Summary | |
---|---|
java.lang.String |
formatAsString()
Formats data marker using canonical format, for example `SheetName!$A$1:$A$5'. |
CellRangeAddress |
getRange()
Returns range of the marker. |
Sheet |
getSheet()
Returns the sheet marker points to. |
void |
setRange(CellRangeAddress range)
Sets range of the marker. |
void |
setSheet(Sheet sheet)
Sets sheet marker points to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataMarker(Sheet sheet, CellRangeAddress range)
sheet
- the sheet where data located.range
- the range within that sheet.Method Detail |
---|
public Sheet getSheet()
public void setSheet(Sheet sheet)
sheet
- new sheet for the marker.public CellRangeAddress getRange()
public void setRange(CellRangeAddress range)
range
- new range for the marker.public java.lang.String formatAsString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |