Style Intelligence v12.0

inetsoft.report
Interface NewlineElement

All Superinterfaces:
Cloneable, ReportElement, Serializable

public interface NewlineElement
extends ReportElement

A newline element forces a report to advanced to the next line.


Field Summary
 
Fields inherited from interface inetsoft.report.ReportElement
AGGREGATE, AUTOSIZE, GROW, LOCAL_QUERY, QUERY, XNODEPATH
 
Method Summary
 int getCount()
          Get the number of linefeeds.
 boolean isBreak()
          Check if this is a regular newline or a break.
 void setBreak(boolean linefeed)
          Set this to be break or newline.
 void setCount(int count)
          Set the number of line feeds.
 
Methods inherited from interface inetsoft.report.ReportElement
clone, getAlignment, getBackground, getCSSClass, getFont, getForeground, getFullName, getID, getIndent, getOnClick, getPreferredSize, getProperty, getPropertyNames, getScript, getSpacing, getTarget, getType, getUserObject, isHideOnPrint, isKeepWithNext, isVisible, setAlignment, setBackground, setContext, setCSSClass, setFont, setForeground, setFullName, setHideOnPrint, setID, setIndent, setKeepWithNext, setOnClick, setProperty, setScript, setSpacing, setTarget, setUserObject, setVisible
 

Method Detail

getCount

int getCount()
Get the number of linefeeds.

Returns:
number of linefeeds.

setCount

void setCount(int count)
Set the number of line feeds. The number of line feed should be at least one.

Parameters:
count - number of line feeds.

isBreak

boolean isBreak()
Check if this is a regular newline or a break.


setBreak

void setBreak(boolean linefeed)
Set this to be break or newline.


Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.