Originally published at: http://www.sitepoint.com/using-codename-one-designer-tool-create-apps-visually/
In our last article on CodenameOne I discussed basic usage of its Designer tool. In this article we will look at The tool and it’s usage in more detail.
CodenameOne UI basics
Every UI element within CodenameOne is a subclass (directly or indirectly) of the Component class. If you are familiar with Android development, you can think of the Component
class as the View class. Every Component
has four style objects:
- Selected
- Unselected
- Disabled
- Pressed
Each of these styles contains information about the UI, such as font, colors, border, etc.