aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/ss
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2008-08-04 21:34:16 +0000
committerNick Burch <nick@apache.org>2008-08-04 21:34:16 +0000
commit4644c44e7ac5b2a153982d7ce544f7783918ad83 (patch)
tree883d90b737f07ecda7fdd1b0892518928e75c7bb /src/java/org/apache/poi/ss
parent1ad91423db1937d685c2dcad005eb2fd12d63fb1 (diff)
downloadpoi-4644c44e7ac5b2a153982d7ce544f7783918ad83.tar.gz
poi-4644c44e7ac5b2a153982d7ce544f7783918ad83.zip
Slight tidy up of header/footer interface
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@682517 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/ss')
-rw-r--r--src/java/org/apache/poi/ss/usermodel/HeaderFooter.java45
1 files changed, 39 insertions, 6 deletions
diff --git a/src/java/org/apache/poi/ss/usermodel/HeaderFooter.java b/src/java/org/apache/poi/ss/usermodel/HeaderFooter.java
index c58f929e43..d862125cab 100644
--- a/src/java/org/apache/poi/ss/usermodel/HeaderFooter.java
+++ b/src/java/org/apache/poi/ss/usermodel/HeaderFooter.java
@@ -21,12 +21,45 @@ package org.apache.poi.ss.usermodel;
* {@link Footer}.
*/
public interface HeaderFooter {
- public String getLeft();
- public void setLeft( String newLeft );
+ /**
+ * Get the left side of the header or footer.
+ *
+ * @return The string representing the left side.
+ */
+ String getLeft();
- public String getCenter();
- public void setCenter( String newCenter );
+ /**
+ * Sets the left string.
+ *
+ * @param newLeft The string to set as the left side.
+ */
+ void setLeft(String newLeft);
- public String getRight();
- public void setRight( String newRight );
+ /**
+ * Get the center of the header or footer.
+ *
+ * @return The string representing the center.
+ */
+ String getCenter();
+
+ /**
+ * Sets the center string.
+ *
+ * @param newCenter The string to set as the center.
+ */
+ void setCenter(String newCenter);
+
+ /**
+ * Get the right side of the header or footer.
+ *
+ * @return The string representing the right side.
+ */
+ String getRight();
+
+ /**
+ * Sets the right string or footer.
+ *
+ * @param newRight The string to set as the right side.
+ */
+ void setRight(String newRight);
}