Class MarginProperties
- java.lang.Object
-
- org.daisy.dotify.formatter.impl.row.MarginProperties
-
public final class MarginProperties extends Object
Provides properties for a margin.MarginProperties
are immutable.
-
-
Constructor Summary
Constructors Constructor Description MarginProperties(String margin, boolean spaceOnly)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MarginProperties
append(MarginProperties mp)
Creates a new margin with the supplied margin appended.boolean
equals(Object obj)
String
getContent()
int
hashCode()
boolean
isSpaceOnly()
String
toString()
-
-
-
Constructor Detail
-
MarginProperties
public MarginProperties(String margin, boolean spaceOnly)
-
-
Method Detail
-
append
public MarginProperties append(MarginProperties mp)
Creates a new margin with the supplied margin appended.- Parameters:
mp
- the margin to append- Returns:
- the new margin
-
getContent
public String getContent()
-
isSpaceOnly
public boolean isSpaceOnly()
-
-