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 Object
clone()
TabStopAlignEnum
getAlignment()
Gets the tab stop alignment.int
getHashCode()
Returns a hash code to be used for the deduplicate map.int
getPosition()
Gets the tab stop position.boolean
isIdentical(Object object)
Determines if this instance is identical to another object.void
setAlignment(TabStopAlignEnum alignment)
Sets the tab stop alignment.void
setPosition(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:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
getHashCode
public int getHashCode()
Description copied from interface:Deduplicable
Returns 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:
getHashCode
in interfaceDeduplicable
- Returns:
- deduplication hash code
-
isIdentical
public boolean isIdentical(Object object)
Description copied from interface:Deduplicable
Determines if this instance is identical to another object.- Specified by:
isIdentical
in interfaceDeduplicable
- Parameters:
object
- the object to compare with this instance- Returns:
true
if the two objects are identical and can be deduplicated
-
-