Package net.sf.jasperreports.engine
Class TabStop
java.lang.Object
net.sf.jasperreports.engine.TabStop
- All Implemented Interfaces:
Serializable,Cloneable,Deduplicable,JRCloneable
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the tab stop alignment.intReturns a hash code to be used for the deduplicate map.intGets 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 Details
-
TabStop
public TabStop() -
TabStop
-
-
Method Details
-
getAlignment
Gets the tab stop alignment. -
setAlignment
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
- 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
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
-