Style Intelligence v12.0

inetsoft.report
Interface BeanElement

All Superinterfaces:
Cloneable, CompositeElement, ReportElement, Serializable

public interface BeanElement
extends CompositeElement

A bean element is an report component that contains other elements. Beans can be created in the designer and saved in a bean library. Beans are shared by reports.


Field Summary
 
Fields inherited from interface inetsoft.report.ReportElement
AGGREGATE, AUTOSIZE, GROW, LOCAL_QUERY, QUERY, XNODEPATH
 
Method Summary
 BeanSheet getBean()
          Get the bean object in the bean element.
 String getBeanName()
          Get the name of the bean.
 Enumeration getBeanProperties()
          Get all bean property names.
 Object getBeanProperty(String prop)
          Get a bean property.
 void removeAllBeanProperties()
          Remove all bean property settings.
 void setBean(BeanSheet bean)
          Set the bean object.
 void setBeanName(String name)
          Set the name of a bean.
 void setBeanProperty(String prop, Object value)
          Set a bean property.
 
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

setBeanName

void setBeanName(String name)
Set the name of a bean. The bean name uses a same format as the resource path. The name should always start with a '/', with subsequent nodes separated by '/'.


getBeanName

String getBeanName()
Get the name of the bean.


getBeanProperty

Object getBeanProperty(String prop)
Get a bean property. A bean property is mapped to a property in an element contained in the bean.


setBeanProperty

void setBeanProperty(String prop,
                     Object value)
Set a bean property. This call is normally translated to a call to set the corresponding property in an element inside the bean.


getBeanProperties

Enumeration getBeanProperties()
Get all bean property names.


removeAllBeanProperties

void removeAllBeanProperties()
Remove all bean property settings.


getBean

BeanSheet getBean()
Get the bean object in the bean element.


setBean

void setBean(BeanSheet bean)
Set the bean object. The bean is normally loaded from the library using the bean name. If the setBean is called, the bean will not be loaded from the library.


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