Style Intelligence v12.0

inetsoft.report
Class PageLayout.InfoShape

java.lang.Object
  extended by inetsoft.report.PageLayout.Shape
      extended by inetsoft.report.PageLayout.InfoShape
All Implemented Interfaces:
Serializable, Cloneable
Enclosing class:
PageLayout

public static class PageLayout.InfoShape
extends PageLayout.Shape

An information shape.

See Also:
Serialized Form

Constructor Summary
PageLayout.InfoShape()
           
PageLayout.InfoShape(String info, StylePage page)
          Create an info shape.
 
Method Summary
 boolean contains(int x, int y)
          Check if the point falls inside the shape.
 void copy(PageLayout.Shape shape)
          Copy the attributes of the shape into this shape.
 Rectangle getBounds()
          Get the bounding box of this paintable.
static Font getFont()
          Get font.
 double getHeight()
          Get the height.
 String getInfo()
          Get warning info.
static Color getWarningColor()
          Get color of warning message.
 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 paint(Graphics g)
          Paint this shape.
 void setBounds(Rectangle bounds)
          Set the bounds of current paintable.
 void setInfo(String info)
          Set warning infomation.
 
Methods inherited from class inetsoft.report.PageLayout.Shape
clone, contains, getColor, getStyle, getXScale, getYScale, setColor, setScale, setStyle
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageLayout.InfoShape

public PageLayout.InfoShape()

PageLayout.InfoShape

public PageLayout.InfoShape(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.


paint

public void paint(Graphics g)
Paint this shape.

Specified by:
paint in class PageLayout.Shape

getBounds

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

Specified by:
getBounds in class PageLayout.Shape

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.

Specified by:
move in class PageLayout.Shape

contains

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

Specified by:
contains in class PageLayout.Shape

copy

public void copy(PageLayout.Shape shape)
Copy the attributes of the shape into this shape.

Overrides:
copy in class PageLayout.Shape

getInfo

public String getInfo()
Get warning info.


setInfo

public void setInfo(String info)
Set warning infomation.


getFont

public static Font getFont()
Get font.


getWarningColor

public static Color getWarningColor()
Get color of warning message.


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