Package org.loboevolution.html.control
Interface UIControl
- All Known Implementing Classes:
BaseControl
,ButtonControl
,CanvasControl
,FrameControl
,ImgControl
,ImgSvgControl
,InputControl
,RSSControl
,SelectControl
,SVGControl
,TextAreaControl
,UIControlWrapper
public interface UIControl
Abstract UIControl interface.
-
Method Summary
Modifier and TypeMethodDescriptiongetBackgroundColor.getComponent.getPreferredSize.default int
getVAlign.void
invalidate.void
paint.void
reset
(int availWidth, int availHeight) reset.void
setBounds
(int x, int y, int width, int height) setBounds.void
setRUIControl
(RUIControl ruicontrol) setRUIControl.
-
Method Details
-
getBackgroundColor
Color getBackgroundColor()getBackgroundColor.
- Returns:
- a
Color
object.
-
getComponent
Component getComponent()getComponent.
- Returns:
- a
Component
object.
-
getPreferredSize
Dimension getPreferredSize()getPreferredSize.
- Returns:
- a
Dimension
object.
-
getVAlign
default int getVAlign()getVAlign.
- Returns:
- a
Integer
object.
-
invalidate
void invalidate()invalidate.
-
paint
paint.
- Parameters:
g
- aGraphics
object.
-
reset
void reset(int availWidth, int availHeight) reset.
-
setBounds
void setBounds(int x, int y, int width, int height) setBounds.
-
setRUIControl
setRUIControl.
- Parameters:
ruicontrol
- aRUIControl
object.
-