Interface Frame
- All Superinterfaces:
DocumentElement,Serializable
- All Known Implementing Classes:
FrameImpl
The Interface Frame.
-
Method Summary
Modifier and TypeMethodDescriptiongetArea()Gets the area.getBbox()Gets the bbox.getLabel()Gets the label of this frameGets the origin.Checks if a Frame is a primary one.Checks if a given Frame is visible.voidSets the area.voidSets the bbox.voidSets the labelvoidSets the origin.voidsetPrimary(Boolean primary) Sets the primary.voidsetVisible(Boolean visible) Sets if a given Frame is visible.Methods inherited from interface com.priint.pubserver.metadata.base.DocumentElement
getId, getSizeAbsolute, getSizeRelative, getVisibleSizeAbsolute, getVisibleSizeRelative, setId, setSizeAbsolute, setSizeRelative, setVisibleSizeAbsolute, setVisibleSizeRelative
-
Method Details
-
getOrigin
Origin getOrigin()Gets the origin.- Returns:
- the origin
- See Also:
-
setOrigin
Sets the origin.- Parameters:
origin- the new origin- See Also:
-
isPrimary
Boolean isPrimary()Checks if a Frame is a primary one.- Returns:
- the boolean
-
setPrimary
Sets the primary.- Parameters:
primary- the new primary value
-
isVisible
Boolean isVisible()Checks if a given Frame is visible.- Returns:
- the boolean
-
setVisible
Sets if a given Frame is visible.- Parameters:
visible- the new visible value
-
getBbox
BBox getBbox()Gets the bbox.- Returns:
- the bbox
- See Also:
-
setBbox
Sets the bbox.- Parameters:
bbox- the new bbox- See Also:
-
getArea
Area getArea()Gets the area.- Returns:
- the area
- See Also:
-
setArea
Sets the area.- Parameters:
area- the new area- See Also:
-
setLabel
Sets the label- Parameters:
label- the label to set
-
getLabel
String getLabel()Gets the label of this frame- Returns:
- the label
-