Style Intelligence v12.0

inetsoft.report
Interface TabElement

All Superinterfaces:
Cloneable, ReportElement, Serializable
All Known Subinterfaces:
HeadingElement, TextElement
All Known Implementing Classes:
PageLayout.InfoText, inetsoft.report.internal.TextElementDef

public interface TabElement
extends ReportElement

A tab advances the current position to the next tab stop. It can optionally add a filling line between the current position to the new position.


Field Summary
 
Fields inherited from interface inetsoft.report.ReportElement
AGGREGATE, AUTOSIZE, GROW, LOCAL_QUERY, QUERY, XNODEPATH
 
Method Summary
 int getFillStyle()
          Get the tab filling style.
 double[] getTabStops()
          Get the tab stops in inches.
 boolean isRightTab()
          Is the tab a right aligned tab.
 void setFillStyle(int fill)
          Set the tab filling style.
 void setRightTab(boolean right)
          Set the alignment of the tab to right if true.
 void setTabStops(double[] stops)
          Set the tab stops in inches.
 
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

getFillStyle

int getFillStyle()
Get the tab filling style.

Returns:
tab filling.

setFillStyle

void setFillStyle(int fill)
Set the tab filling style. It must be one of the line styles defined in StyleConstants, e.g. THIN_LINE, DOUBLE_LINE.

Parameters:
fill - one of the line styles.

getTabStops

double[] getTabStops()
Get the tab stops in inches.

Returns:
tab stops.

setTabStops

void setTabStops(double[] stops)
Set the tab stops in inches. Default tab stop is at every half inches.

Parameters:
stops - tab stops.

isRightTab

boolean isRightTab()
Is the tab a right aligned tab.


setRightTab

void setRightTab(boolean right)
Set the alignment of the tab to right if true. If this is true, the next element is right aligned at the tab stop.


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