public class TabStop extends Object implements JRCloneable, Serializable, Deduplicable
Constructor and Description |
---|
TabStop() |
TabStop(int position,
TabStopAlignEnum alignment) |
Modifier and Type | Method and 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.
|
public TabStop()
public TabStop(int position, TabStopAlignEnum alignment)
public TabStopAlignEnum getAlignment()
public void setAlignment(TabStopAlignEnum alignment)
public int getPosition()
public void setPosition(int position)
public Object clone()
clone
in interface JRCloneable
clone
in class Object
public int getHashCode()
Deduplicable
Deduplicable.isIdentical(Object)
,
i.e. if two objects are identical they should have the same hash code.getHashCode
in interface Deduplicable
public boolean isIdentical(Object object)
Deduplicable
isIdentical
in interface Deduplicable
object
- the object to compare with this instancetrue
if the two objects are identical and can be deduplicatedCopyright © 2015. All rights reserved.