|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ReportElement
This is the base class of all document element classes. It contains all common attributes. The attributes are copied from the document when the element is created, so if the attributes change after the element is created, the element is not affected.
| Field Summary | |
|---|---|
static String |
AGGREGATE
Property name of an aggregate function to apply to the query and selection result. |
static String |
AUTOSIZE
Property used to control if an element is autosize. |
static String |
GROW
Property used to control if an element can grow inside a section. |
static String |
LOCAL_QUERY
Property name of a query if the local query binding is defined for this element. |
static String |
QUERY
Property name of a query if the query binding is defined for this element. |
static String |
XNODEPATH
Property name of a node path selection specification. |
| Method Summary | |
|---|---|
Object |
clone()
Create a clone of this object. |
int |
getAlignment()
Get the horizontal alignment. |
Color |
getBackground()
Get element background color. |
String |
getCSSClass()
Get the css class of the element |
Font |
getFont()
Get element font. |
Color |
getForeground()
Get element foreground color. |
String |
getFullName()
Get the full name of this element. |
String |
getID()
Get the id of this element. |
double |
getIndent()
Get the element indentation in inches. |
String |
getOnClick()
Get the Javascript onClick event handler. |
Size |
getPreferredSize()
Return the size that is needed for this element. |
String |
getProperty(String name)
Get an property of this element. |
Enumeration |
getPropertyNames()
Get all attribute names. |
String |
getScript()
Get the script associated with this element. |
int |
getSpacing()
Get element line spacing in pixels. |
String |
getTarget()
Get the hyperlink target (anchor) of this element. |
String |
getType()
Return the element type. |
Object |
getUserObject()
Get the user object. |
boolean |
isHideOnPrint()
Check if the element should be hidden for printing and exporting. |
boolean |
isKeepWithNext()
Check if this element should be kept on the same page as the next element. |
boolean |
isVisible()
Check if this element is visible. |
void |
setAlignment(int alignment)
Set the horizontal alignment. |
void |
setBackground(Color background)
Set element background color. |
void |
setContext(ReportElement elem)
Set the attributes of this element. |
void |
setCSSClass(String elementClass)
Set the css class of the element. |
void |
setFont(Font font)
Set element font. |
void |
setForeground(Color foreground)
Set element foreground color. |
void |
setFullName(String name)
Set the full name of this element. |
void |
setHideOnPrint(boolean hide)
Set if the element should be hidden for printing and exporting. |
void |
setID(String id)
Set the id of this element. |
void |
setIndent(double indent)
Set the element indentation in inches. |
void |
setKeepWithNext(boolean keep)
Set the keep with next flag of this element. |
void |
setOnClick(String cmd)
Set the Javascript onClick event handler. |
void |
setProperty(String name,
String attr)
Set an property value. |
void |
setScript(String cmd)
Set the script associated with this element. |
void |
setSpacing(int spacing)
Set element line spacing in pixels. |
void |
setTarget(String target)
Define the hyperlink target (anchor) of this element. |
void |
setUserObject(Object obj)
Set an user object. |
void |
setVisible(boolean vis)
Set the visibility of this element. |
| Field Detail |
|---|
static final String QUERY
static final String LOCAL_QUERY
static final String XNODEPATH
static final String AGGREGATE
static final String GROW
static final String AUTOSIZE
| Method Detail |
|---|
String getID()
void setID(String id)
String getFullName()
void setFullName(String name)
int getAlignment()
void setAlignment(int alignment)
double getIndent()
void setIndent(double indent)
Font getFont()
void setFont(Font font)
Color getForeground()
void setForeground(Color foreground)
Color getBackground()
void setBackground(Color background)
int getSpacing()
void setSpacing(int spacing)
boolean isVisible()
void setVisible(boolean vis)
vis - false to hide an element.boolean isHideOnPrint()
void setHideOnPrint(boolean hide)
boolean isKeepWithNext()
void setKeepWithNext(boolean keep)
String getScript()
void setScript(String cmd)
String getOnClick()
void setOnClick(String cmd)
String getTarget()
void setTarget(String target)
String getProperty(String name)
name - property name.
void setProperty(String name,
String attr)
name - property name.attr - property value. Use null value to remove an
property.Enumeration getPropertyNames()
void setContext(ReportElement elem)
String getType()
Size getPreferredSize()
void setUserObject(Object obj)
Object getUserObject()
void setCSSClass(String elementClass)
elementClass - class name as defined in the css style sheet.String getCSSClass()
Object clone()
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||