Visual Guide to Item Views
Each UI component has its own default visualization in J2ME Polish. You can, however, specify additional view-types
for changing the visualization. You can even create your own view-type.
Item View Types
Following view-types can be used for all items.
fade-in view-type
| The fade-in view-type increases the opacity of an item to the specified amount. |
fade-out view-type
| The fade-out view-type increases the translucency of an item to the specified amount. |
particle view-type
| The particle view-type scales an item in an explosion like manner. |
size-decrease view-type
| The size-decrease view-type decreases the height of an item. |
size-increase view-type
| The size-increase view-type increases the height of an item. |
View Types for Container based UI Components
You can apply the following view-types for all Container based UI components - basically these are all
components that can contain a number of items. Examples include ChoiceGroup,
List, Form, HtmlBrowser
and commands menu.
carousel view-type
| The carousel view-type aligns items in a circle. |
dropping view-type
| The dropping view-type let items fall from the top of the screen. |
fisheye view-type
| The fisheye view-type smoothly scales all items and aligns them horizontally. |
grayout view-type
| The grayout view-type smoothly scales all items and aligns them horizontally. |
midp2 view-type
|
The midp2 view-type adds items so a maxmimum number fits into the given space. |
numbered view-type
|
The numbered view-type adds the position of each item as it's label. |
shuffle view-type
| The shuffle view-type moves in items from both the left and right edges of a screen. |
slide view-type
| The slide view-type moves the item in the specified direction. |
ChoiceGroup View Types
Next to all Container View Types there are some specific to ChoiceGroups:
exclusive-choice view-type
|
The exclusive-choice view-type shows one option of a ChoiceGroup at a time. |
horizontal-choice view-type
|
The horizontal-choice view-type shows all options of a ChoiceGroup in a row. |
Gauge View Types
You can use a Gauge for selecting an entry from a numerical range or to indicate progress. Here are some alternative visualizations:
gauge-horizontal-icons view-type
| The gauge-horizontal-icons view-type displays several images in sequence while viewing one image at a time. |
gauge-horizontal-spheres view-type
| The gauge-horizontal-spheres view-type displays several filled circles in a row while exchanging the color of one of them. |
gauge-cycling-icons view-type
| The gauge-cycling-icons view-type displays several images in a cycle while exchanging one of them. |
gauge-cycling-spheres view-type
| The gauge-cycling-spheres view-type displays several filled circles in a cycle while exchanging the color of one of them. |
ChartItem View Types
You can use different visualizations for the ChartItem:
chart-pie view-type
|
The chart-pie view-type visualizes the data in a pie chart. |
chart-vertical-bars view-type
|
The chart-vertical-bars view-type visualizes the data in bars. |
Your Own View-Type
![]() |
Realize your own View-Type. |







