Package org.loboevolution.html.control
Class UIControlWrapper
java.lang.Object
org.loboevolution.html.control.UIControlWrapper
- All Implemented Interfaces:
UIControl
UIControlWrapper class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBackgroundColor.getComponent.getPreferredSize.void
invalidate.void
paint.boolean
paintSelection
(Graphics g, boolean inSelection, RenderableSpot startPoint, RenderableSpot endPoint) paintSelection.void
reset
(int availWidth, int availHeight) reset.void
setBounds
(int x, int y, int width, int height) setBounds.void
setRUIControl
(RUIControl ruicontrol) setRUIControl.
-
Constructor Details
-
UIControlWrapper
Constructor for UIControlWrapper.
- Parameters:
ho
- aHtmlObject
object.
-
-
Method Details
-
getBackgroundColor
getBackgroundColor.
- Specified by:
getBackgroundColor
in interfaceUIControl
- Returns:
- a
Color
object.
-
getComponent
getComponent.
- Specified by:
getComponent
in interfaceUIControl
- Returns:
- a
Component
object.
-
getPreferredSize
getPreferredSize.
- Specified by:
getPreferredSize
in interfaceUIControl
- Returns:
- a
Dimension
object.
-
invalidate
public void invalidate()invalidate.
- Specified by:
invalidate
in interfaceUIControl
-
paint
paint.
-
paintSelection
public boolean paintSelection(Graphics g, boolean inSelection, RenderableSpot startPoint, RenderableSpot endPoint) paintSelection.
- Parameters:
g
- aGraphics
object.inSelection
- a boolean.startPoint
- aRenderableSpot
object.endPoint
- aRenderableSpot
object.- 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:
setRUIControl
in interfaceUIControl
- Parameters:
ruicontrol
- aRUIControl
object.
-