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.voidaddDelayedPair(DelayedPair pair) addDelayedPair.voidclearDelayedPairs.voidfocus()focus.getDelayedPairs.getGUIPoint(int x, int y) getGUIPoint.default intgetInnerHeight.default intgetInnerWidth.getInsets(boolean hscroll, boolean vscroll) getInsets.getInsetsMarginBorder(boolean hscroll, boolean vscroll) getInsetsMarginBorder.getOriginRelativeToAbs(RCollection bodyLayout) getOriginRelativeToAbs.getPaintedBackgroundColor.getParentContainer.getVisualBounds.intgetVisualHeight.intgetVisualWidth.intgetY()getY.voidinvalidateLayoutUpTree.voidrelayout()relayout.voidrepaint(int x, int y, int width, int height) repaint.translateDescendentPoint(BoundableRenderable descendent, int x, int y) translateDescendentPoint.voidupdateAllWidgetBounds.
-
Method Details
-
addComponent
addComponent.
-
addDelayedPair
addDelayedPair.
- Parameters:
pair- aDelayedPairobject.
-
clearDelayedPairs
void clearDelayedPairs()clearDelayedPairs.
-
focus
void focus()focus.
-
getDelayedPairs
List<DelayedPair> getDelayedPairs()getDelayedPairs.
- Returns:
- a
Listobject.
-
getPaintedBackgroundColor
Color getPaintedBackgroundColor()getPaintedBackgroundColor.
- Returns:
- a
Colorobject.
-
getParentContainer
RenderableContainer getParentContainer()getParentContainer.
- Returns:
- a
RenderableContainerobject.
-
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
Insetsobject.
-
getInsets
getInsets.
- Parameters:
hscroll- a boolean.vscroll- a boolean.- Returns:
- a
Insetsobject.
-
getY
int getY()getY.
- Returns:
- a
Integerobject.
-
getInnerWidth
default int getInnerWidth()getInnerWidth.
- Returns:
- a
Integerobject.
-
getInnerHeight
default int getInnerHeight()getInnerHeight.
- Returns:
- a
Integerobject.
-
getVisualBounds
Rectangle getVisualBounds()getVisualBounds.
- Returns:
- a
Rectangleobject.
-
getVisualWidth
int getVisualWidth()getVisualWidth.
- Returns:
- a
Integerobject.
-
getVisualHeight
int getVisualHeight()getVisualHeight.
- Returns:
- a
Integerobject.
-
getGUIPoint
getGUIPoint.
-
translateDescendentPoint
translateDescendentPoint.
- Parameters:
descendent- aBoundableRenderableobject.x- aIntegerobject.y- aIntegerobject.- Returns:
- a
Pointobject.
-
getOriginRelativeToAbs
getOriginRelativeToAbs.
- Parameters:
bodyLayout- aRCollectionobject.- Returns:
- a
Pointobject.
-