net.sf.jasperreports.engine.base
Class JRBaseSortField

java.lang.Object
  extended by 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

Version:
$Id: JRBaseSortField.java 5180 2012-03-29 13:23:12Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)
See Also:
Serialized Form

Field Summary
protected  String name
           
protected  SortOrderEnum orderValue
           
static String PROPERTY_ORDER
           
protected  SortFieldTypeEnum type
           
 
Constructor Summary
protected JRBaseSortField()
           
protected JRBaseSortField(JRSortField sortField, JRBaseObjectFactory factory)
           
 
Method Summary
 Object clone()
           
 JRPropertyChangeSupport getEventSupport()
          Returns the property change support object for this instance.
 String getName()
          Gets the sort field name.
 SortOrderEnum getOrderValue()
          Gets the sort order for the field.
 SortFieldTypeEnum getType()
          Gets the type of the sort field.
 void setOrder(SortOrderEnum orderValue)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_ORDER

public static final String PROPERTY_ORDER
See Also:
Constant Field Values

name

protected String name

orderValue

protected SortOrderEnum orderValue

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 interface JRSortField

getOrderValue

public SortOrderEnum getOrderValue()
Description copied from interface: JRSortField
Gets the sort order for the field.

Specified by:
getOrderValue in interface JRSortField

setOrder

public void setOrder(SortOrderEnum orderValue)

getType

public SortFieldTypeEnum getType()
Description copied from interface: JRSortField
Gets the type of the sort field.

Specified by:
getType in interface JRSortField

clone

public Object clone()
Specified by:
clone in interface JRCloneable
Overrides:
clone in class Object

getEventSupport

public JRPropertyChangeSupport getEventSupport()
Description copied from interface: JRChangeEventsSupport
Returns the property change support object for this instance.

Specified by:
getEventSupport in interface JRChangeEventsSupport
Returns:
the property change support object for this instance


Copyright © 2012. All Rights Reserved.