HorizontalPageBreak

Inheritance: java.lang.Object

public class HorizontalPageBreak

Encapsulates the object that represents a horizontal page break.

Example

         //Instantiating a Workbook object
         Workbook workbook = new Workbook();
 
         //Obtaining the reference of the newly added worksheet by passing its sheet index
         Worksheet worksheet = workbook.getWorksheets().get(0);
 
         //Add a page break at cell Y30
         int Index = worksheet.getHorizontalPageBreaks().add("Y30");
 
         //get the newly added horizontal page break
         HorizontalPageBreak hPageBreak = worksheet.getHorizontalPageBreaks().get(Index);

Methods

MethodDescription
equals(Object arg0)
getClass()
getEndColumn()Gets the end column index of this horizontal page break.
getRow()Gets the zero based row index.
getStartColumn()Gets the start column index of this horizontal page break.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getEndColumn()

public int getEndColumn()

Gets the end column index of this horizontal page break.

Returns: int

getRow()

public int getRow()

Gets the zero based row index.

Returns: int

getStartColumn()

public int getStartColumn()

Gets the start column index of this horizontal page break.

Returns: int

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int