Class HSLFTabStop
- java.lang.Object
-
- org.apache.poi.hslf.model.textproperties.HSLFTabStop
-
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable,GenericRecord,TabStop
@Internal public class HSLFTabStop extends java.lang.Object implements TabStop, org.apache.poi.common.Duplicatable, GenericRecord
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.poi.sl.usermodel.TabStop
TabStop.TabStopType
-
-
Constructor Summary
Constructors Constructor Description HSLFTabStop(int position, TabStop.TabStopType type)HSLFTabStop(HSLFTabStop other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HSLFTabStopcopy()booleanequals(java.lang.Object obj)java.util.Map<java.lang.String,java.util.function.Supplier<?>>getGenericProperties()intgetPosition()doublegetPositionInPoints()Gets the position in points relative to the left side of the paragraph.TabStop.TabStopTypegetType()inthashCode()voidsetPosition(int position)voidsetPositionInPoints(double points)Sets the position in points relative to the left side of the paragraphvoidsetType(TabStop.TabStopType type)java.lang.StringtoString()-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
-
-
-
Constructor Detail
-
HSLFTabStop
public HSLFTabStop(int position, TabStop.TabStopType type)
-
HSLFTabStop
public HSLFTabStop(HSLFTabStop other)
-
-
Method Detail
-
getPosition
public int getPosition()
-
setPosition
public void setPosition(int position)
-
getPositionInPoints
public double getPositionInPoints()
Description copied from interface:TabStopGets the position in points relative to the left side of the paragraph.- Specified by:
getPositionInPointsin interfaceTabStop- Returns:
- position in points
-
setPositionInPoints
public void setPositionInPoints(double points)
Description copied from interface:TabStopSets the position in points relative to the left side of the paragraph- Specified by:
setPositionInPointsin interfaceTabStop- Parameters:
points- position in points
-
getType
public TabStop.TabStopType getType()
-
setType
public void setType(TabStop.TabStopType type)
-
copy
public HSLFTabStop copy()
- Specified by:
copyin interfaceorg.apache.poi.common.Duplicatable
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getGenericProperties
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-
-