* {@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);
}
package org.apache.poi.ss.usermodel;
-public interface Footer {
-
+public interface Footer extends HeaderFooter {
/**
* Get the left side of the footer.
* @return The string representing the left side.
* @param newRight The string to set as the right side.
*/
void setRight(String newRight);
-
-}
\ No newline at end of file
+}
package org.apache.poi.ss.usermodel;
-public interface Header {
-
+public interface Header extends HeaderFooter {
/**
* Get the left side of the header.
*
* @param newRight The string to set as the right side.
*/
void setRight(String newRight);
-
-}
\ No newline at end of file
+}