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 intgetVAlign.voidinvalidate.voidpaint.voidreset(int availWidth, int availHeight) reset.voidsetBounds(int x, int y, int width, int height) setBounds.voidsetRUIControl(RUIControl ruicontrol) setRUIControl.
-
Method Details
-
getBackgroundColor
Color getBackgroundColor()getBackgroundColor.
- Returns:
- a
Colorobject.
-
getComponent
Component getComponent()getComponent.
- Returns:
- a
Componentobject.
-
getPreferredSize
Dimension getPreferredSize()getPreferredSize.
- Returns:
- a
Dimensionobject.
-
getVAlign
default int getVAlign()getVAlign.
- Returns:
- a
Integerobject.
-
invalidate
void invalidate()invalidate.
-
paint
paint.
- Parameters:
g- aGraphicsobject.
-
reset
void reset(int availWidth, int availHeight) reset.
-
setBounds
void setBounds(int x, int y, int width, int height) setBounds.
-
setRUIControl
setRUIControl.
- Parameters:
ruicontrol- aRUIControlobject.
-