Package eu.bandm.tools.format
Class Format.MayBreak
java.lang.Object
eu.bandm.tools.format.Format
eu.bandm.tools.format.Format.Compound
eu.bandm.tools.format.Format.MayBreak
- All Implemented Interfaces:
Formattable
,Serializable
,Cloneable
- Direct Known Subclasses:
Format.Beneath
,Format.Beside
,Format.Block
,Format.Comment
,Format.Line
- Enclosing class:
- Format
Abstract superclass of all compound formats which possibly
generate multi-line output when printed.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.bandm.tools.format.Format
Format.Annotated<A>, Format.Append, Format.Beneath, Format.Beside, Format.Block, Format.BoundVariable, Format.Comment, Format.Compound, Format.Context, Format.Empty, Format.Forester, Format.FormatPrinter, Format.FreeVariable, Format.Line, Format.Literal, Format.Markup, Format.Matcher, Format.MayBreak, Format.NonFormatPrinter, Format.Prior, Format.Rewriter, Format.Space, Format.Subst, Format.Tabular, Format.Variable, Format.Visitor
-
Field Summary
Fields inherited from class eu.bandm.tools.format.Format.Compound
subs
Fields inherited from class eu.bandm.tools.format.Format
comma, contentPrefixPrinted, DEFAULT_WIDTH, dot, empty, ground, indent, INDENT_NOT_SET, invalid, isAlwaysMultiline, LENGTH_PREFIX, literal, maxWidth, minWidth, pattern_illegal_literal, pattern_newline, pattern_ws, pattern_wsWithVars, space
Fields inherited from interface eu.bandm.tools.format.Formattable
format
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class eu.bandm.tools.format.Format.Compound
calcground, calcmult, debugPrefix, endMutation, eval, getSubs, isMutating, startMutation, sumMin_noTrailingBlanks, update, validate
Methods inherited from class eu.bandm.tools.format.Format
annotated, append, append, apply, apply, apply, apply, applyPartial, applyTo, applyTo, beneath, beneath, beside, beside, block, block, comment, comment, comment, comment, doprint, format, indent, indentIsSet, invalidate, isSpace, isValidContentForLiteral, line, line, list, list, list, list, list, literal, main, makeAppend, makeBeneath, makeBeside, makeBlock, makeLine, makeTabular, markup, markupLeft, markupRight, printFormat, printFormat, printNonFormat, prior, prior, quoteDTDstyle, quoteJavaStyle, showLn, showLn, showSwingTree, space, subst, subst, subst, tabular, tabular, testformat, text, textWithVars, toFormat, toObjString, toString, toString, variable, variable
-
Constructor Details
-
MayBreak
protected MayBreak()For deserialization only. -
MayBreak
-
-
Method Details
-
calcmin
protected int calcmin()Description copied from class:Format
Calculate minimal width. Is abstract on this level, but over-ridden by sub-classes. -
calcmax
protected int calcmax()Description copied from class:Format
Calculate maximal width. Is abstract on this level, but over-ridden by sub-classes.
-