|
xelem.3.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nl.fountain.xelem.excel.AbstractXLElement nl.fountain.xelem.excel.x.XWorksheetOptions
public class XWorksheetOptions
An implementation of the XLElement WorksheetOptions.
Field Summary |
---|
Fields inherited from interface nl.fountain.xelem.excel.WorksheetOptions |
---|
SHEET_HIDDEN, SHEET_VERY_HIDDEN, SHEET_VISIBLE |
Fields inherited from interface nl.fountain.xelem.excel.XLElement |
---|
PREFIX_HTML, PREFIX_O, PREFIX_SS, PREFIX_X, XMLNS, XMLNS_HTML, XMLNS_O, XMLNS_SS, XMLNS_X |
Constructor Summary | |
---|---|
XWorksheetOptions()
Constructs a new XWorksheetOptions. |
Method Summary | |
---|---|
Element |
assemble(Element parent,
GIO gio)
Assembles the state of this XLElement and all of it's children into an Element . |
boolean |
displaysFormulas()
|
boolean |
displaysNoGridlines()
|
boolean |
displaysNoHeadings()
|
void |
doDisplayFormulas(boolean f)
|
void |
doNotDisplayGridlines(boolean b)
|
void |
doNotDisplayHeadings(boolean b)
|
void |
freezePanesAt(int row,
int column)
|
String |
getGridlineColor()
|
int |
getLeftColumnVisible()
|
String |
getNameSpace()
Gets the namespace of this XLElement. |
String |
getPrefix()
Gets the prefix of this XLElement. |
int |
getTabColorIndex()
|
String |
getTagName()
Gets the tagname (localName) of this XLElement. |
int |
getTopRowVisible()
|
String |
getVisible()
|
int |
getZoom()
|
boolean |
hasFrozenPanes()
|
boolean |
hasHorizontalSplit()
|
boolean |
hasSplit()
|
boolean |
hasVerticalSplit()
|
boolean |
isSelected()
|
void |
setActiveCell(int r,
int c)
|
void |
setActiveCell(int paneNumber,
int r,
int c)
|
void |
setChildElement(String localName,
String content)
Does effectively nothing. |
void |
setGridlineColor(int r,
int g,
int b)
|
void |
setLeftColumnVisible(int lc)
|
void |
setRangeSelection(Area area)
|
void |
setRangeSelection(int paneNumber,
String rcRange)
|
void |
setRangeSelection(String rcRange)
Sets a range selection. |
void |
setSelected(boolean s)
|
void |
setTabColorIndex(int ci)
|
void |
setTopRowVisible(int tr)
|
void |
setVisible(String wsoValue)
|
void |
setZoom(int z)
|
void |
splitHorizontal(int points,
int topRow)
|
void |
splitVertical(int points,
int leftColumn)
|
Methods inherited from class nl.fountain.xelem.excel.AbstractXLElement |
---|
addElementComment, assemble, createAttributeNS, createAttributeNS, createElementNS, createElementNS, createElementNS, createElementNS, getElementComments, setAttributes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface nl.fountain.xelem.excel.XLElement |
---|
addElementComment, getElementComments, setAttributes |
Constructor Detail |
---|
public XWorksheetOptions()
Worksheet.getWorksheetOptions()
Method Detail |
---|
public void setTopRowVisible(int tr)
setTopRowVisible
in interface WorksheetOptions
public int getTopRowVisible()
getTopRowVisible
in interface WorksheetOptions
public void setLeftColumnVisible(int lc)
setLeftColumnVisible
in interface WorksheetOptions
public int getLeftColumnVisible()
getLeftColumnVisible
in interface WorksheetOptions
public void setZoom(int z)
setZoom
in interface WorksheetOptions
public int getZoom()
getZoom
in interface WorksheetOptions
public void setTabColorIndex(int ci)
setTabColorIndex
in interface WorksheetOptions
public int getTabColorIndex()
getTabColorIndex
in interface WorksheetOptions
public void setSelected(boolean s)
setSelected
in interface WorksheetOptions
public boolean isSelected()
isSelected
in interface WorksheetOptions
public void doNotDisplayHeadings(boolean b)
doNotDisplayHeadings
in interface WorksheetOptions
public boolean displaysNoHeadings()
displaysNoHeadings
in interface WorksheetOptions
public void doNotDisplayGridlines(boolean b)
doNotDisplayGridlines
in interface WorksheetOptions
public boolean displaysNoGridlines()
displaysNoGridlines
in interface WorksheetOptions
public void doDisplayFormulas(boolean f)
doDisplayFormulas
in interface WorksheetOptions
public boolean displaysFormulas()
displaysFormulas
in interface WorksheetOptions
public void setVisible(String wsoValue)
setVisible
in interface WorksheetOptions
public String getVisible()
getVisible
in interface WorksheetOptions
public void setActiveCell(int r, int c)
setActiveCell
in interface WorksheetOptions
IllegalArgumentException
- if r < 1 or c < 1.public void setActiveCell(int paneNumber, int r, int c)
setActiveCell
in interface WorksheetOptions
IllegalArgumentException
- if paneNumber < 0 or
paneNumber > 3.
IllegalArgumentException
- if r < 1 or c < 1.public void setRangeSelection(String rcRange)
WorksheetOptions
setRangeSelection
in interface WorksheetOptions
rcRange
- A String in R1C1 reference style.WorksheetOptions.setActiveCell(int, int)
public void setRangeSelection(Area area)
setRangeSelection
in interface WorksheetOptions
public void setRangeSelection(int paneNumber, String rcRange)
setRangeSelection
in interface WorksheetOptions
IllegalArgumentException
- if paneNumber < 0 or
paneNumber > 3.public void splitHorizontal(int points, int topRow)
splitHorizontal
in interface WorksheetOptions
IllegalArgumentException
- if topRow < 1.public boolean hasHorizontalSplit()
hasHorizontalSplit
in interface WorksheetOptions
public void splitVertical(int points, int leftColumn)
splitVertical
in interface WorksheetOptions
IllegalArgumentException
- if leftColumn < 1.public boolean hasVerticalSplit()
hasVerticalSplit
in interface WorksheetOptions
public boolean hasSplit()
hasSplit
in interface WorksheetOptions
public void freezePanesAt(int row, int column)
freezePanesAt
in interface WorksheetOptions
public boolean hasFrozenPanes()
hasFrozenPanes
in interface WorksheetOptions
public void setGridlineColor(int r, int g, int b)
setGridlineColor
in interface WorksheetOptions
public String getGridlineColor()
getGridlineColor
in interface WorksheetOptions
public String getTagName()
XLElement
getTagName
in interface XLElement
public String getNameSpace()
XLElement
getNameSpace
in interface XLElement
public String getPrefix()
XLElement
getPrefix
in interface XLElement
public Element assemble(Element parent, GIO gio)
XLElement
Element
. Attaches the new element to it's
parent-element if needed.
assemble
in interface XLElement
parent
- the parent-element to which the new formed element
will be appendedgio
- a global information object
public void setChildElement(String localName, String content)
AbstractXLElement
setChildElement
in interface XLElement
setChildElement
in class AbstractXLElement
localName
- the local name of the childcontent
- the content of the child
|
xelem.3.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |