Package net.sf.jasperreports.engine
Class TabStop
- java.lang.Object
-
- net.sf.jasperreports.engine.TabStop
-
- All Implemented Interfaces:
Serializable,Cloneable,Deduplicable,JRCloneable
public class TabStop extends Object implements JRCloneable, Serializable, Deduplicable
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TabStop()TabStop(int position, TabStopAlignEnum alignment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()TabStopAlignEnumgetAlignment()Gets the tab stop alignment.intgetHashCode()Returns a hash code to be used for the deduplicate map.intgetPosition()Gets the tab stop position.booleanisIdentical(Object object)Determines if this instance is identical to another object.voidsetAlignment(TabStopAlignEnum alignment)Sets the tab stop alignment.voidsetPosition(int position)Sets the tab stop position.
-
-
-
Constructor Detail
-
TabStop
public TabStop()
-
TabStop
public TabStop(int position, TabStopAlignEnum alignment)
-
-
Method Detail
-
getAlignment
public TabStopAlignEnum getAlignment()
Gets the tab stop alignment.
-
setAlignment
public void setAlignment(TabStopAlignEnum alignment)
Sets the tab stop alignment.
-
getPosition
public int getPosition()
Gets the tab stop position.
-
setPosition
public void setPosition(int position)
Sets the tab stop position.
-
clone
public Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-
getHashCode
public int getHashCode()
Description copied from interface:DeduplicableReturns a hash code to be used for the deduplicate map. The returned hash code should be consitent wiwhDeduplicable.isIdentical(Object), i.e. if two objects are identical they should have the same hash code.- Specified by:
getHashCodein interfaceDeduplicable- Returns:
- deduplication hash code
-
isIdentical
public boolean isIdentical(Object object)
Description copied from interface:DeduplicableDetermines if this instance is identical to another object.- Specified by:
isIdenticalin interfaceDeduplicable- Parameters:
object- the object to compare with this instance- Returns:
trueif the two objects are identical and can be deduplicated
-
-