Package net.sf.jasperreports.engine.base
Class JRBaseSortField
- java.lang.Object
-
- net.sf.jasperreports.engine.base.JRBaseSortField
-
- All Implemented Interfaces:
Serializable
,Cloneable
,JRChangeEventsSupport
,JRCloneable
,JRSortField
- Direct Known Subclasses:
JRDesignSortField
public class JRBaseSortField extends Object implements JRSortField, Serializable, JRChangeEventsSupport
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
name
protected SortOrderEnum
order
static String
PROPERTY_ORDER
protected SortFieldTypeEnum
type
-
Constructor Summary
Constructors Modifier Constructor Description protected
JRBaseSortField()
protected
JRBaseSortField(JRSortField sortField, JRBaseObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
JRPropertyChangeSupport
getEventSupport()
Returns the property change support object for this instance.String
getName()
Gets the sort field name.SortOrderEnum
getOrder()
Gets the sort order for the field.SortFieldTypeEnum
getType()
Gets the type of the sort field.void
setOrder(SortOrderEnum order)
-
-
-
Field Detail
-
PROPERTY_ORDER
public static final String PROPERTY_ORDER
- See Also:
- Constant Field Values
-
name
protected String name
-
order
protected SortOrderEnum order
-
type
protected SortFieldTypeEnum type
-
-
Constructor Detail
-
JRBaseSortField
protected JRBaseSortField()
-
JRBaseSortField
protected JRBaseSortField(JRSortField sortField, JRBaseObjectFactory factory)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:JRSortField
Gets the sort field name.- Specified by:
getName
in interfaceJRSortField
-
getOrder
public SortOrderEnum getOrder()
Description copied from interface:JRSortField
Gets the sort order for the field.- Specified by:
getOrder
in interfaceJRSortField
-
setOrder
public void setOrder(SortOrderEnum order)
-
getType
public SortFieldTypeEnum getType()
Description copied from interface:JRSortField
Gets the type of the sort field.- Specified by:
getType
in interfaceJRSortField
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
getEventSupport
public JRPropertyChangeSupport getEventSupport()
Description copied from interface:JRChangeEventsSupport
Returns the property change support object for this instance.- Specified by:
getEventSupport
in interfaceJRChangeEventsSupport
- Returns:
- the property change support object for this instance
-
-