Style Intelligence v12.0

inetsoft.report
Interface EditRegionElement

All Superinterfaces:
Cloneable, CompositeElement, ReportElement, Serializable

public interface EditRegionElement
extends CompositeElement

An Edit Area element is a report element used in meta template to serve as an indication of insert point of normal report element.


Field Summary
 
Fields inherited from interface inetsoft.report.ReportElement
AGGREGATE, AUTOSIZE, GROW, LOCAL_QUERY, QUERY, XNODEPATH
 
Method Summary
 void addElement(ReportElement elem)
          Add a report element to edit region.
 void copyElementsFrom(EditRegionElement elem)
          Copy all elements from another edit region.
 ReportElement[] getAllElements()
          Get the elements list.
 ReportElement getElement(int i)
          Get the ith report element.
 ReportElement getElement(String id)
          Get a element in edit region by ID.
 int getElementCount()
          Get the elements count.
 int getElementIndex(ReportElement elem)
          Get the index of the element.
 void insertElementAt(ReportElement elem, int index)
          Insert a report element to edit region.
 void insertElementAt(ReportElement elem, String id)
          Insert a report element to edit region.
 void removeAllElements()
          Remove all elements in the edit region.
 void removeElement(int index)
          Remove the specified report element.
 void removeElement(ReportElement elem)
          Remove the specified report element.
 void removeElement(String id)
          Remove the specified report element.
 
Methods inherited from interface inetsoft.report.CompositeElement
getComposite, isLineAfter, setComposite, setLineAfter
 
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

addElement

void addElement(ReportElement elem)
Add a report element to edit region.


insertElementAt

void insertElementAt(ReportElement elem,
                     int index)
Insert a report element to edit region.


insertElementAt

void insertElementAt(ReportElement elem,
                     String id)
Insert a report element to edit region.


removeElement

void removeElement(String id)
Remove the specified report element.


removeElement

void removeElement(int index)
Remove the specified report element.


removeElement

void removeElement(ReportElement elem)
Remove the specified report element.


removeAllElements

void removeAllElements()
Remove all elements in the edit region.


getElementIndex

int getElementIndex(ReportElement elem)
Get the index of the element.


getElementCount

int getElementCount()
Get the elements count.


getElement

ReportElement getElement(int i)
Get the ith report element.


getElement

ReportElement getElement(String id)
Get a element in edit region by ID.

Parameters:
id - the element id.

copyElementsFrom

void copyElementsFrom(EditRegionElement elem)
Copy all elements from another edit region.


getAllElements

ReportElement[] getAllElements()
Get the elements list.


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