Package org.loboevolution.html.renderer
Interface RenderableContainer
- All Known Implementing Classes:
BaseElementRenderable
,HtmlBlockPanel
,RBlock
,RImgControl
,RInlineBlock
,RTable
,RTableCell
,RUIControl
public interface RenderableContainer
A RenderableContainer is either usually a parent block or the root GUI
component. It is a Renderable or GUI component whose layout may be
invalidated.
-
Method Summary
Modifier and TypeMethodDescriptionaddComponent
(Component component) addComponent.void
addDelayedPair
(DelayedPair pair) addDelayedPair.void
clearDelayedPairs.void
focus()
focus.getDelayedPairs.getGUIPoint
(int x, int y) getGUIPoint.default int
getInnerHeight.default int
getInnerWidth.getInsets
(boolean hscroll, boolean vscroll) getInsets.getInsetsMarginBorder
(boolean hscroll, boolean vscroll) getInsetsMarginBorder.getOriginRelativeToAbs
(RCollection bodyLayout) getOriginRelativeToAbs.getPaintedBackgroundColor.getParentContainer.getVisualBounds.int
getVisualHeight.int
getVisualWidth.int
getY()
getY.void
invalidateLayoutUpTree.void
relayout()
relayout.void
repaint
(int x, int y, int width, int height) repaint.translateDescendentPoint
(BoundableRenderable descendent, int x, int y) translateDescendentPoint.void
updateAllWidgetBounds.
-
Method Details
-
addComponent
addComponent.
-
addDelayedPair
addDelayedPair.
- Parameters:
pair
- aDelayedPair
object.
-
clearDelayedPairs
void clearDelayedPairs()clearDelayedPairs.
-
focus
void focus()focus.
-
getDelayedPairs
List<DelayedPair> getDelayedPairs()getDelayedPairs.
- Returns:
- a
List
object.
-
getPaintedBackgroundColor
Color getPaintedBackgroundColor()getPaintedBackgroundColor.
- Returns:
- a
Color
object.
-
getParentContainer
RenderableContainer getParentContainer()getParentContainer.
- Returns:
- a
RenderableContainer
object.
-
invalidateLayoutUpTree
void invalidateLayoutUpTree()invalidateLayoutUpTree.
-
relayout
void relayout()relayout.
-
repaint
void repaint(int x, int y, int width, int height) repaint.
-
updateAllWidgetBounds
void updateAllWidgetBounds()updateAllWidgetBounds.
-
getInsetsMarginBorder
getInsetsMarginBorder.
- Parameters:
hscroll
- a boolean.vscroll
- a boolean.- Returns:
- a
Insets
object.
-
getInsets
getInsets.
- Parameters:
hscroll
- a boolean.vscroll
- a boolean.- Returns:
- a
Insets
object.
-
getY
int getY()getY.
- Returns:
- a
Integer
object.
-
getInnerWidth
default int getInnerWidth()getInnerWidth.
- Returns:
- a
Integer
object.
-
getInnerHeight
default int getInnerHeight()getInnerHeight.
- Returns:
- a
Integer
object.
-
getVisualBounds
Rectangle getVisualBounds()getVisualBounds.
- Returns:
- a
Rectangle
object.
-
getVisualWidth
int getVisualWidth()getVisualWidth.
- Returns:
- a
Integer
object.
-
getVisualHeight
int getVisualHeight()getVisualHeight.
- Returns:
- a
Integer
object.
-
getGUIPoint
getGUIPoint.
-
translateDescendentPoint
translateDescendentPoint.
- Parameters:
descendent
- aBoundableRenderable
object.x
- aInteger
object.y
- aInteger
object.- Returns:
- a
Point
object.
-
getOriginRelativeToAbs
getOriginRelativeToAbs.
- Parameters:
bodyLayout
- aRCollection
object.- Returns:
- a
Point
object.
-