Style Intelligence v12.0

inetsoft.report
Class PageLayout.InfoText

java.lang.Object
  extended by inetsoft.report.internal.BaseElement
      extended by inetsoft.report.internal.TabSupport
          extended by inetsoft.report.internal.TextElementDef
              extended by inetsoft.report.PageLayout.InfoText
All Implemented Interfaces:
HyperlinkSupport, inetsoft.report.internal.BindableElement, inetsoft.report.internal.Cacheable, inetsoft.report.internal.TextBased, ReportElement, TabElement, TextElement, Serializable, Cloneable
Enclosing class:
PageLayout

public static class PageLayout.InfoText
extends inetsoft.report.internal.TextElementDef

An information text.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class inetsoft.report.internal.BaseElement
einfo
 
Fields inherited from interface inetsoft.report.ReportElement
AGGREGATE, AUTOSIZE, GROW, LOCAL_QUERY, QUERY, XNODEPATH
 
Constructor Summary
PageLayout.InfoText()
           
PageLayout.InfoText(String info, StylePage page)
          Create an info shape.
 
Method Summary
 boolean contains(int x, int y)
          Check if the point falls inside the shape.
 Rectangle getBounds()
          Get the bounding box of this paintable.
 Font getFont()
          Get font.
 Color getForeground()
          Get foreground color.
 double getHeight()
          Get the height.
 String getInfo()
          Get warning info.
 inetsoft.report.internal.TextPaintable getPaintable()
           
 double getWidth()
          Get the width.
 double getX()
          Get the left edge x position.
 double getY()
          Get the top edge y position.
 void move(double x, double y)
          Move the shape by the specified x/y amount.
 void setBounds(Rectangle bounds)
          Set the bounds of current paintable.
 void setInfo(String info)
          Set warning infomation.
 
Methods inherited from class inetsoft.report.internal.TextElementDef
applyDefaultProperty, clone, clone, createElementInfo, getBackground, getBindingAttr, getData, getDisplayText, getDrillHyperlinks, getHighlight, getHighlightGroup, getHyperlink, getPreferredSize, getPresenter, getSourceAttr, getText, getTextAdvance, getTextID, getTextLens, getType, isBreakable, isJustify, isLastOnLine, isOrphanControl, isRightTab, isSourceBlank, print, reset, resetHighlight, resetPrint, rewind, setBackground, setBindingAttr, setData, setData, setDrillHyperlinks, setElementInfo, setFont, setForeground, setHighlight, setHighlightGroup, setHyperlink, setJustify, setOrphanControl, setPresenter, setRightTab, setText, setTextAdvance, setTextID, setTextLens, toString, updateFormulas, updateReportFormulas
 
Methods inherited from class inetsoft.report.internal.TabSupport
getFillStyle, getTabStops, printTab, setContext, setFillStyle, setTabStops
 
Methods inherited from class inetsoft.report.internal.BaseElement
addr, checkElementHeaderFooter, checkLayout, checkVisible, equals, evaluate, evaluateRunningTotal, evaluateRunningTotal, getAlignment, getCSSClass, getElementInfo, getFrame, getFullName, getHindent, getID, getIndent, getOnClick, getParent, getProperty, getPropertyNames, getPropertyNames, getReport, getRunningTotals, getScript, getScriptWildcard, getSpacing, getTarget, getUserObject, hashCode, hasRunningTotals, isBlock, isBreakArea, isBreakPage, isContinuation, isDisposed, isEditable, isExecuted, isFlowControl, isFromMetaTemplate, isGroupable, isHideOnPrint, isInSection, isKeepWithNext, isNewline, isVisible, onClick, print0, resetOnLoad, resetScript, setAlignment, setBlock, setContinuation, setCSSClass, setEditable, setFrame, setFromMetaTemplate, setFullName, setHideOnPrint, setHindent, setID, setIndent, setInSection, setKeepWithNext, setNonFlow, setOnClick, setParent, setProperty, setReport, setScript, setSpacing, setTarget, setType, setUserObject, setVisible
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface inetsoft.report.TabElement
getFillStyle, getTabStops, setFillStyle, setTabStops
 
Methods inherited from interface inetsoft.report.ReportElement
getAlignment, getCSSClass, getFullName, getID, getIndent, getOnClick, getProperty, getPropertyNames, getScript, getSpacing, getTarget, getUserObject, isHideOnPrint, isKeepWithNext, isVisible, setAlignment, setContext, setCSSClass, setFullName, setHideOnPrint, setID, setIndent, setKeepWithNext, setOnClick, setProperty, setScript, setSpacing, setTarget, setUserObject, setVisible
 

Constructor Detail

PageLayout.InfoText

public PageLayout.InfoText()

PageLayout.InfoText

public PageLayout.InfoText(String info,
                           StylePage page)
Create an info shape.

Method Detail

getX

public double getX()
Get the left edge x position.


getY

public double getY()
Get the top edge y position.


getWidth

public double getWidth()
Get the width.


getHeight

public double getHeight()
Get the height.


getBounds

public Rectangle getBounds()
Get the bounding box of this paintable.


setBounds

public void setBounds(Rectangle bounds)
Set the bounds of current paintable.


move

public void move(double x,
                 double y)
Move the shape by the specified x/y amount.


contains

public boolean contains(int x,
                        int y)
Check if the point falls inside the shape.


getInfo

public String getInfo()
Get warning info.


setInfo

public void setInfo(String info)
Set warning infomation.


getFont

public Font getFont()
Get font.

Specified by:
getFont in interface ReportElement
Overrides:
getFont in class inetsoft.report.internal.TextElementDef

getForeground

public Color getForeground()
Get foreground color.

Specified by:
getForeground in interface ReportElement
Overrides:
getForeground in class inetsoft.report.internal.TextElementDef

getPaintable

public inetsoft.report.internal.TextPaintable getPaintable()

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