Interface Control
- All Known Implementing Classes:
AbstractCell
,AbstractControl
,AbstractListCell
,AbstractTextCell
,AbstractView
,AppView
,BoxView
,ButtonView
,DialogView
,GridView
,InputView
,ListCell.DefaultListCell
,ListView
,MenuBarView
,MenuView
,ProgressView
,StatusBarView
,TextCell.DefaultTextCell
,WindowView
public interface Control
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getRect()
Gets rectanle of a bounded box for thisView
.void
setRect
(int x, int y, int width, int height) Sets bounds where thisControl
should operate.void
setThemeName
(String themeName) Sets a theme name to use.void
setThemeResolver
(ThemeResolver themeResolver) Sets aThemeResolver
.
-
Method Details
-
draw
- Parameters:
screen
- the screen
-
getRect
Rectangle getRect()Gets rectanle of a bounded box for thisView
.- Returns:
- the rectanle of a bounded box
-
setRect
void setRect(int x, int y, int width, int height) Sets bounds where thisControl
should operate.- Parameters:
x
- a x coord of a bounded boxy
- an y coord of a bounded boxwidth
- a width of a bounded boxheight
- a height of a bounded box
-
setThemeResolver
Sets aThemeResolver
.- Parameters:
themeResolver
- the theme resolver
-
setThemeName
Sets a theme name to use.- Parameters:
themeName
- the theme name
-