org.foray.linebreak
Class LbGlue4a
java.lang.Object
org.foray.linebreak.LbGlue4a
- All Implemented Interfaces:
- org.axsl.linebreak.LbContent, org.axsl.linebreak.LbGlue
public class LbGlue4a
- extends Object
- implements org.axsl.linebreak.LbGlue
A hard-wired implementation of LbGlue.
Constructor Summary |
LbGlue4a(int idealWidth,
int stretchability,
int shrinkability)
Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LbGlue4a
public LbGlue4a(int idealWidth,
int stretchability,
int shrinkability)
- Constructor.
- Parameters:
idealWidth
- The ideal width of this glue, in millipoints.stretchability
- The stretchability of this glue, in millipoints.shrinkability
- The shrinkability of this glue, in millipoints.
getIdealWidth
public int getIdealWidth()
- Specified by:
getIdealWidth
in interface org.axsl.linebreak.LbGlue
getStretchability
public int getStretchability()
- Specified by:
getStretchability
in interface org.axsl.linebreak.LbGlue
getShrinkability
public int getShrinkability()
- Specified by:
getShrinkability
in interface org.axsl.linebreak.LbGlue
Copyright © 2017. All rights reserved.