Element

de.activegroup.scalajasper.core.Element
See theElement companion object
abstract class Element

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Crosstab
class Break
class ElementGroup
class ElementSeq
class Ellipse
class Frame
class Image
class Line
class Rectangle
class StaticText
class Subreport
class TextField
Show all

Members list

Value members

Abstract methods

Adds the specified length (which can be negative) to the vertical position of this element.

Adds the specified length (which can be negative) to the vertical position of this element.

Attributes

The vertical extent of this element. Usually this is the Y position plus the height.

The vertical extent of this element. Usually this is the Y position plus the height.

Attributes

Concrete methods

def +(e: Element): ElementSeq

Combines this element with another element to form a new element consisting of both of them.

Combines this element with another element to form a new element consisting of both of them.

Attributes

def above(that: Element): ElementSeq

Returns a combination of this and that element, where that element is "moved" below this. Note that this element is not moved and elements are only moved down. Also note that the Y position of that element is sort of preserved as spacing between the elements, e.g. if (and only if) this element has a Y position of 0 (the default) the elements abut each other.

Returns a combination of this and that element, where that element is "moved" below this. Note that this element is not moved and elements are only moved down. Also note that the Y position of that element is sort of preserved as spacing between the elements, e.g. if (and only if) this element has a Y position of 0 (the default) the elements abut each other.

Attributes

See also

See function stack in the companion object for a function that vertically distributes multiple elements.

def below(that: Element): ElementSeq

Returns a combination of this and that element, where this element is "moved" below that. Note that the Y position of this element is sort of preserved as spacing between the elements, e.g. if (and only if) this element has a Y position of 0 (the default) the elements abut each other.

Returns a combination of this and that element, where this element is "moved" below that. Note that the Y position of this element is sort of preserved as spacing between the elements, e.g. if (and only if) this element has a Y position of 0 (the default) the elements abut each other.

Attributes

See also

See function stack in the companion object for a function that vertically distributes multiple elements.

def seq: Seq[Element]

Returns a sequence of all primitive elements that make up this element. The resulting sequence is guaranteed not to contain any de.activegroup.scalajasper.core.ElementSeq objects.

Returns a sequence of all primitive elements that make up this element. The resulting sequence is guaranteed not to contain any de.activegroup.scalajasper.core.ElementSeq objects.

Attributes