|
aXSL API 0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface should be used by classes wishing to present themselves to the line-breaking system as being a part of a line, but not containing text. The size of such items must be accounted for when computing a line-break.
Method Summary | |
int |
inlineSizeMaximum(int lineLength)
Tells the line-breaking system the maximum amount of the line that this non-text item should occupy. |
int |
inlineSizeMinimum(int lineLength)
Tells the line-breaking system the minimum amount of the line that this non-text item should occupy. |
int |
inlineSizeOptimum(int lineLength)
Tells the line-breaking system the optimum amount of the line that this non-text item should occupy. |
Methods inherited from interface org.axsl.text.line.LineContent |
isLastItemInBlock |
Method Detail |
public int inlineSizeOptimum(int lineLength)
lineLength
- The length of the line on which this non-text item will
be placed. This gives the non-text item the opportunity to compute its
size based on a percentage of the line length.
public int inlineSizeMinimum(int lineLength)
lineLength
- The length, in millipoints, of the line for which the
minimum length is being computed. This can be used by the implementation
to handle situations where the item should occupy a certain percentage
of the line.
inlineSizeOptimum(int)
public int inlineSizeMaximum(int lineLength)
lineLength
- The length, in millipoints, of the line for which the
maximum length is being computed. This can be used by the implementation
to handle situations where the item should occupy a certain percentage
of the line.
inlineSizeOptimum(int)
|
aXSL API 0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This documentation was created September 6 2006 by The aXSL Group and may be freely copied. See license for details.