net.sf.jasperreports.components.table
Class DesignCell

java.lang.Object
  extended by net.sf.jasperreports.engine.base.JRBaseElementGroup
      extended by net.sf.jasperreports.engine.design.JRDesignElementGroup
          extended by net.sf.jasperreports.components.table.DesignCell
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Cell, DesignStyleContainer, JRChangeEventsSupport, JRBoxContainer, JRChild, JRCloneable, JRElementGroup, JRStyleContainer, JRVisitable

public class DesignCell
extends JRDesignElementGroup
implements Cell, DesignStyleContainer

Version:
$Id: DesignCell.java 3602 2010-03-19 14:53:30Z lucianc $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)
See Also:
Serialized Form

Field Summary
static java.lang.String PROPERTY_DEFAULT_STYLE_PROVIDER
           
static java.lang.String PROPERTY_HEIGHT
           
static java.lang.String PROPERTY_ROW_SPAN
           
static java.lang.String PROPERTY_STYLE
           
static java.lang.String PROPERTY_STYLE_NAME_REFERENCE
           
 
Fields inherited from class net.sf.jasperreports.engine.design.JRDesignElementGroup
PROPERTY_CHILDREN, PROPERTY_ELEMENT_GROUP
 
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseElementGroup
children, elementGroup
 
Constructor Summary
DesignCell()
           
 
Method Summary
 java.awt.Color getDefaultLineColor()
           
 JRDefaultStyleProvider getDefaultStyleProvider()
           
 java.lang.Integer getHeight()
           
 JRLineBox getLineBox()
           
 java.lang.Integer getRowSpan()
           
 JRStyle getStyle()
          Returns this object's style.
 java.lang.String getStyleNameReference()
          Returns the name of an external style which is to be used by this object.
 void setDefaultStyleProvider(JRDefaultStyleProvider defaultStyleProvider)
           
 void setHeight(java.lang.Integer height)
           
 void setRowSpan(java.lang.Integer rowSpan)
           
 void setStyle(JRStyle style)
           
 void setStyleNameReference(java.lang.String styleName)
           
 
Methods inherited from class net.sf.jasperreports.engine.design.JRDesignElementGroup
addElement, addElement, addElementGroup, addElementGroup, getEventSupport, removeElement, removeElementGroup, setElementGroup
 
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseElementGroup
clone, clone, getChildren, getElementByKey, getElementByKey, getElementGroup, getElements, getElements, visit
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jasperreports.engine.JRElementGroup
getChildren, getElementByKey, getElementGroup, getElements
 
Methods inherited from interface net.sf.jasperreports.engine.JRChild
clone
 
Methods inherited from interface net.sf.jasperreports.engine.JRVisitable
visit
 
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
 

Field Detail

PROPERTY_DEFAULT_STYLE_PROVIDER

public static final java.lang.String PROPERTY_DEFAULT_STYLE_PROVIDER
See Also:
Constant Field Values

PROPERTY_STYLE

public static final java.lang.String PROPERTY_STYLE
See Also:
Constant Field Values

PROPERTY_STYLE_NAME_REFERENCE

public static final java.lang.String PROPERTY_STYLE_NAME_REFERENCE
See Also:
Constant Field Values

PROPERTY_ROW_SPAN

public static final java.lang.String PROPERTY_ROW_SPAN
See Also:
Constant Field Values

PROPERTY_HEIGHT

public static final java.lang.String PROPERTY_HEIGHT
See Also:
Constant Field Values
Constructor Detail

DesignCell

public DesignCell()
Method Detail

getHeight

public java.lang.Integer getHeight()
Specified by:
getHeight in interface Cell

getDefaultLineColor

public java.awt.Color getDefaultLineColor()
Specified by:
getDefaultLineColor in interface JRBoxContainer

getLineBox

public JRLineBox getLineBox()
Specified by:
getLineBox in interface JRBoxContainer

getDefaultStyleProvider

public JRDefaultStyleProvider getDefaultStyleProvider()
Specified by:
getDefaultStyleProvider in interface JRStyleContainer

getStyle

public JRStyle getStyle()
Description copied from interface: JRStyleContainer
Returns this object's style.

Specified by:
getStyle in interface JRStyleContainer
Returns:
this object's style

getStyleNameReference

public java.lang.String getStyleNameReference()
Description copied from interface: JRStyleContainer
Returns the name of an external style which is to be used by this object.

External styles are defined in templates and are resolved at fill time. This attribute is only effective if no direct style (as returned by getStyle() is specified for this object.

Specified by:
getStyleNameReference in interface JRStyleContainer
Returns:
the name of an external style

setDefaultStyleProvider

public void setDefaultStyleProvider(JRDefaultStyleProvider defaultStyleProvider)
Specified by:
setDefaultStyleProvider in interface DesignStyleContainer

setStyle

public void setStyle(JRStyle style)
Specified by:
setStyle in interface DesignStyleContainer

setStyleNameReference

public void setStyleNameReference(java.lang.String styleName)
Specified by:
setStyleNameReference in interface DesignStyleContainer

setHeight

public void setHeight(java.lang.Integer height)

getRowSpan

public java.lang.Integer getRowSpan()
Specified by:
getRowSpan in interface Cell

setRowSpan

public void setRowSpan(java.lang.Integer rowSpan)


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com