Style Intelligence v12.0

inetsoft.uql.asset
Class WorksheetInfo

java.lang.Object
  extended by inetsoft.uql.asset.WorksheetInfo
All Implemented Interfaces:
AssetObject, inetsoft.util.XMLSerializable, Serializable, Cloneable

public class WorksheetInfo
extends Object
implements AssetObject

WorksheetInfo stores worksheet properties.

See Also:
Serialized Form

Constructor Summary
WorksheetInfo()
          Constructor.
 
Method Summary
 Object clone()
          Clone this object.
 boolean copyInfo(WorksheetInfo info)
          Copy the properties.
 int getDesignMaxRows()
          Get the maximum rows of detail table for design mode.
protected  void parseAttributes(Element elem)
          Parse attributes.
protected  void parseContents(Element elem)
          Parse contents.
 void parseXML(Element elem)
          Method to parse an xml segment.
 void setDesignMaxRows(int max)
          Set the maximum rows of detail table for design mode.
 String toString()
          Get the string representation.
protected  void writeAttributes(PrintWriter writer)
          Write attributes.
protected  void writeContents(PrintWriter writer)
          Write contents.
 void writeXML(PrintWriter writer)
          Write the xml segment to print writer.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorksheetInfo

public WorksheetInfo()
Constructor.

Method Detail

getDesignMaxRows

public int getDesignMaxRows()
Get the maximum rows of detail table for design mode.


setDesignMaxRows

public void setDesignMaxRows(int max)
Set the maximum rows of detail table for design mode. The max rows is applied to the detail table to limit the data used for queries.


copyInfo

public boolean copyInfo(WorksheetInfo info)
Copy the properties.

Returns:
true if the property change should trigger a worksheet re-execution.

writeXML

public final void writeXML(PrintWriter writer)
Write the xml segment to print writer.

Specified by:
writeXML in interface inetsoft.util.XMLSerializable
Parameters:
writer - the destination print writer.

writeAttributes

protected void writeAttributes(PrintWriter writer)
Write attributes.

Parameters:
writer - the specified writer.

parseAttributes

protected void parseAttributes(Element elem)
Parse attributes.

Parameters:
elem - the specified xml element.

writeContents

protected void writeContents(PrintWriter writer)
Write contents.

Parameters:
writer - the specified writer.

parseContents

protected void parseContents(Element elem)
                      throws Exception
Parse contents.

Parameters:
elem - the specified xml element.
Throws:
Exception

parseXML

public final void parseXML(Element elem)
                    throws Exception
Method to parse an xml segment.

Specified by:
parseXML in interface inetsoft.util.XMLSerializable
Parameters:
elem - the specified xml element.
Throws:
Exception

toString

public String toString()
Get the string representation.

Overrides:
toString in class Object
Returns:
the string representation of this assembly info.

clone

public Object clone()
Clone this object.

Specified by:
clone in interface AssetObject
Overrides:
clone in class Object
Returns:
the cloned object.

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