Package org.loboevolution.html.control
Class UIControlWrapper
java.lang.Object
org.loboevolution.html.control.UIControlWrapper
- All Implemented Interfaces:
UIControl
UIControlWrapper class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBackgroundColor.getComponent.getPreferredSize.voidinvalidate.voidpaint.booleanpaintSelection(Graphics g, boolean inSelection, RenderableSpot startPoint, RenderableSpot endPoint) paintSelection.voidreset(int availWidth, int availHeight) reset.voidsetBounds(int x, int y, int width, int height) setBounds.voidsetRUIControl(RUIControl ruicontrol) setRUIControl.
-
Constructor Details
-
UIControlWrapper
Constructor for UIControlWrapper.
- Parameters:
ho- aHtmlObjectobject.
-
-
Method Details
-
getBackgroundColor
getBackgroundColor.
- Specified by:
getBackgroundColorin interfaceUIControl- Returns:
- a
Colorobject.
-
getComponent
getComponent.
- Specified by:
getComponentin interfaceUIControl- Returns:
- a
Componentobject.
-
getPreferredSize
getPreferredSize.
- Specified by:
getPreferredSizein interfaceUIControl- Returns:
- a
Dimensionobject.
-
invalidate
public void invalidate()invalidate.
- Specified by:
invalidatein interfaceUIControl
-
paint
paint.
-
paintSelection
public boolean paintSelection(Graphics g, boolean inSelection, RenderableSpot startPoint, RenderableSpot endPoint) paintSelection.
- Parameters:
g- aGraphicsobject.inSelection- a boolean.startPoint- aRenderableSpotobject.endPoint- aRenderableSpotobject.- Returns:
- a boolean.
-
reset
public void reset(int availWidth, int availHeight) reset.
-
setBounds
public void setBounds(int x, int y, int width, int height) setBounds.
-
setRUIControl
setRUIControl.
- Specified by:
setRUIControlin interfaceUIControl- Parameters:
ruicontrol- aRUIControlobject.
-