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:
  • Constructor Details

    • TabStop

      public TabStop()
    • TabStop

      public TabStop(int position, TabStopAlignEnum alignment)
  • Method Details

    • 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 interface JRCloneable
      Overrides:
      clone in class Object
    • 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 wiwh Deduplicable.isIdentical(Object), i.e. if two objects are identical they should have the same hash code.
      Specified by:
      getHashCode in interface Deduplicable
      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 interface Deduplicable
      Parameters:
      object - the object to compare with this instance
      Returns:
      true if the two objects are identical and can be deduplicated