|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Item | |
|---|---|
| de.enough.polish.blackberry.ui | Special implementations for javax.microedition.lcdui classes for BlackBerry - do not use directly. |
| de.enough.polish.browser | Contains base implementation for browsers operating on XML-like structures. |
| de.enough.polish.browser.html | Provides a browser for HTML pages, including support for forms. |
| de.enough.polish.browser.rss | Provides an RSS reader. |
| de.enough.polish.doja.ui | Special implementations for javax.microedition.lcdui classes for DoJa - do not use directly. |
| de.enough.polish.ui | Provides the standard J2ME widgets and containers as well as some extended J2ME Polish features. |
| de.enough.polish.ui.backgrounds | Provides backgrounds for widgets and canvases. |
| de.enough.polish.ui.borders | Provides borders for widgets and canvases. |
| de.enough.polish.ui.chartviews | Provides (mostly animated) views for visualizing ChartItems. |
| de.enough.polish.ui.clockviews | Provides (mostly animated) views for visualizing ClockItems. |
| de.enough.polish.ui.containerviews | Provides (mostly animated) views for showing collections of items, e.g. |
| de.enough.polish.ui.gaugeviews | Provides (mostly animated) views for visualizing gauges. |
| de.enough.polish.ui.itemviews | Provides (mostly animated) views for visualizing items. |
| Uses of Item in de.enough.polish.blackberry.ui |
|---|
| Methods in de.enough.polish.blackberry.ui with parameters of type Item | |
|---|---|
void |
Display.setCurrentItem(Item item)
Requests that the Displayable that contains this
Item be made current,
scrolls the Displayable so that this
Item is visible, and possibly
assigns the focus to this Item. |
void |
Canvas.setFocus(Item item)
Focuses an item and it's corresponding blackberry field if available. |
void |
Canvas.setFocus(Item item,
boolean repeatSync)
Focuses an item and it's corresponding blackberry field if available. |
| Uses of Item in de.enough.polish.browser |
|---|
| Methods in de.enough.polish.browser with parameters of type Item | |
|---|---|
void |
Browser.add(Item item)
|
protected void |
TagHandler.addCommands(java.lang.String tagName,
Item item)
Adds registered commands to the given item. |
protected void |
TagHandler.addCommands(java.lang.String tagName,
java.lang.String attributeName,
java.lang.String attributeValue,
Item item)
Adds registered commands to the given item. |
| Uses of Item in de.enough.polish.browser.html |
|---|
| Methods in de.enough.polish.browser.html that return Item | |
|---|---|
protected Item |
HtmlTagHandler.getFocusedItemWithAttribute(java.lang.String attribute,
Container container)
Retrieves the currently focused item that has specified the attribute |
Item[] |
HtmlForm.getItems()
|
| Methods in de.enough.polish.browser.html with parameters of type Item | |
|---|---|
void |
HtmlForm.addItem(Item item)
|
void |
HtmlTagHandler.commandAction(javax.microedition.lcdui.Command command,
Item item)
Handles item commands (implements ItemCommandListener). |
java.lang.String |
HtmlTagHandler.createGetSubmitCall(Item submitItem,
HtmlForm form)
Creates a Form GET method URL for the specified browser. |
void |
HtmlTagHandler.doPostSubmitCall(Item submitItem,
HtmlForm form)
Does a Form POST method call. |
java.util.Hashtable |
HtmlForm.getFormElements(FormListener listener,
Item submitItem)
Retrieves all form input elements for submitting this form as string-pairs (name:value) in a Hashtable. |
| Uses of Item in de.enough.polish.browser.rss |
|---|
| Methods in de.enough.polish.browser.rss with parameters of type Item | |
|---|---|
void |
DefaultRssItemCommandListener.commandAction(javax.microedition.lcdui.Command command,
Item item)
|
| Uses of Item in de.enough.polish.doja.ui |
|---|
| Methods in de.enough.polish.doja.ui with parameters of type Item | |
|---|---|
void |
Display.setCurrentItem(Item item)
Requests that the Displayable that contains this
Item be made current,
scrolls the Displayable so that this
Item is visible, and possibly
assigns the focus to this Item. |
| Uses of Item in de.enough.polish.ui |
|---|
| Subclasses of Item in de.enough.polish.ui | |
|---|---|
class |
ChoiceGroup
A ChoiceGroup is a group of selectable elements intended to be
placed within a Form. |
class |
ChoiceItem
Paints a single item of a choice group. |
class |
CommandItem
Wraps a javax.microedition.lcdui.Command object and allows to add subcommands, specific styles etc to single commands. |
class |
Container
Contains a number of items. |
class |
CustomItem
A CustomItem is customizable by subclassing to introduce new visual and interactive elements into Forms. |
class |
DateField
A DateField is an editable component for presenting
date and time (calendar)
information that may be placed into a Form. |
class |
Gauge
Implements a graphical display, such as a bar graph, of an integer value. |
class |
IconItem
Shows a string with an optional image attached to it. |
class |
ImageItem
An item that can contain an image. |
class |
MenuBar
Provides a more powerful alternative to the build-in menu bar of the Screen-class. |
class |
ScrollBar
Realizes a scrollbar for any J2ME Polish screens. |
class |
Spacer
A blank, non-interactive item that has a settable minimum size. |
class |
StringItem
An item that can contain a string. |
class |
TabBar
Manages and paints the tabs of a tabbed form (or another Screen). |
class |
TextField
A TextField is an editable text component that may be
placed into
a Form. |
class |
Ticker
Implements a "ticker-tape", a piece of text that runs continuously across the display. |
| Fields in de.enough.polish.ui declared as Item | |
|---|---|
protected Item |
Container.focusedItem
|
protected Item |
FakeContainerCustomItem.focusedItem
|
protected Item |
ContainerView.focusedItem
|
static Item |
ScreenInfo.item
|
protected Item |
FakeCustomItem.parent
The parent of this item. |
protected Item |
Item.parent
The parent of this item. |
protected Item |
ItemView.parentItem
|
protected Item |
Screen.title
|
| Methods in de.enough.polish.ui that return Item | |
|---|---|
Item |
TreeItem.appendToNode(Item node,
java.lang.String text,
javax.microedition.lcdui.Image image)
Adds the specified text/image to this tree. |
Item |
TreeItem.appendToNode(Item node,
java.lang.String text,
javax.microedition.lcdui.Image image,
Style childStyle)
Adds the specified text/image to this tree. |
static Item |
UiAccess.cast(javax.microedition.lcdui.Item item)
Casts the given LCDUI item into a J2ME Polish item |
static Item[] |
UiAccess.cast(javax.microedition.lcdui.Item[] items)
Casts the given LCDUI items into J2ME Polish items |
Item |
Form.get(int itemNum)
Gets the item at given position. |
Item |
Container.get(int index)
Returns the item at the specified position of this container. |
Item |
FakeContainerCustomItem.get(int index)
Returns the item at the specified position of this container. |
Item |
TableItem.get(int index)
|
Item |
FramedForm.getCurrentItem()
Retrieves the currently focused item. |
Item |
FilteredList.getCurrentItem()
|
Item |
TabbedForm.getCurrentItem()
|
Item |
Screen.getCurrentItem()
Retrieves the currently focused item. |
Item |
Container.getFocusedItem()
Retrieves the currently focused item. |
Item |
FakeContainerCustomItem.getFocusedItem()
Retrieves the currently focused item. |
static Item |
UiAccess.getFocusedItem(Screen screen)
Retrieves the focused index of the specified screen |
Item |
FakeCustomItem.getItemAt(int relX,
int relY)
Determines if this item or one of it's children is within the specified point. |
Item |
MenuBar.getItemAt(int relX,
int relY)
|
Item |
Container.getItemAt(int relX,
int relY)
|
Item |
Screen.getItemAt(int x,
int y)
Locates and returns the item at the given coordinate. |
Item |
FakeContainerCustomItem.getItemAt(int relX,
int relY)
|
Item |
Item.getItemAt(int relX,
int relY)
Determines if this item or one of it's children is within the specified point. |
Item[] |
Container.getItems()
Retrieves all items which this container holds. |
Item[] |
FakeContainerCustomItem.getItems()
Retrieves all items which this container holds. |
Item |
FakeCustomItem.getLabelItem()
Retrieves the label item that is used by this item.\ |
Item |
Item.getLabelItem()
Retrieves the label item that is used by this item.\ |
protected Item |
ContainerView.getNextFocusableItem(Item[] items,
boolean forward,
int steps,
boolean allowCircle)
Retrieves the next focusable item. |
protected Item |
ContainerView.getNextItem(int keyCode,
int gameAction)
Interpretes the given user-input and retrieves the nexte item which should be focused. |
Item |
FakeCustomItem.getParent()
Retrieves the parent of this item. |
Item |
Item.getParent()
Retrieves the parent of this item. |
protected Item[] |
TabbedList.getRootItems()
|
protected Item[] |
FramedForm.getRootItems()
|
protected Item[] |
Screen.getRootItems()
Retrieves all root-items of this screen. |
Item[] |
TreeItem.getSelectedPath()
Retireves the currently selected path of this tree item. |
Item |
TabBar.getTabItem(int tabIndex)
Retrieves a tab item |
Item |
TabbedForm.getTabItem(int tabIndex)
Retrieves the item that renders the tab |
Item |
Container.remove(int index)
Removes the item at the specified position of this container. |
Item |
FakeContainerCustomItem.remove(int index)
Removes the item at the specified position of this container. |
Item |
TableItem.remove(int index)
|
Item |
Container.set(int index,
Item item)
Replaces the item at the specified position in this list with the given item. |
Item |
FakeContainerCustomItem.set(int index,
Item item)
Replaces the item at the specified position in this list with the given item. |
Item |
Container.set(int index,
Item item,
Style itemStyle)
Replaces the item at the specified position in this list with the given item. |
Item |
FakeContainerCustomItem.set(int index,
Item item,
Style itemStyle)
Replaces the item at the specified position in this list with the given item. |
Item |
TableItem.set(int index,
Item item,
Style itemStyle)
|
protected Item |
ContainerView.shiftFocus(boolean forwardFocus,
int steps,
Item[] items)
Shifts the focus to the next or the previous item. |
| Methods in de.enough.polish.ui with parameters of type Item | |
|---|---|
void |
TableItem.add(int col,
int row,
Item item)
Adds the given item to the specified table element. |
void |
Container.add(int index,
Item item)
Inserts the given item at the defined position. |
void |
FakeContainerCustomItem.add(int index,
Item item)
Inserts the given item at the defined position. |
void |
Container.add(Item item)
Adds an item to this container. |
void |
FakeContainerCustomItem.add(Item item)
Adds an item to this container. |
void |
TableItem.add(Item item)
Container methods |
void |
Container.add(Item item,
Style itemAddStyle)
Adds an item to this container. |
void |
FakeContainerCustomItem.add(Item item,
Style itemAddStyle)
Adds an item to this container. |
static void |
AnimationThread.addAnimationItem(Item item)
Adds the given item to list of items that should be animated. |
protected void |
ItemView.addFullRepaintRegion(Item item,
ClippingRegion repaintRegion)
Adds the complete item's dimensions to the repaint region. |
protected void |
Background.addRelativeToBackgroundRegion(ClippingRegion repaintRegion,
Screen screen,
Item parent,
int left,
int right,
int top,
int bottom)
Adds an repaint area relative to this background |
void |
ChoiceItem.adjustProperties(Item lastItem)
|
void |
TextEffect.animate(Item parent,
long currentTime,
ClippingRegion repaintRegion)
Animates this effect. |
void |
Background.animate(Screen screen,
Item parent,
long currentTime,
ClippingRegion repaintRegion)
Animates this background. |
void |
Border.animate(Screen screen,
Item parent,
long currentTime,
ClippingRegion repaintRegion)
Animates this background. |
void |
FramedForm.append(int frameOrientation,
Item item)
Adds the given item to the specifid frame. |
int |
TabbedForm.append(int tabIndex,
Item item)
Adds the item to this form. |
void |
FramedForm.append(int frameOrientation,
Item item,
Style itemStyle)
Adds the given item to the specifid frame. |
int |
TabbedForm.append(int tabIndex,
Item item,
Style itemStyle)
Adds the item to this form. |
int |
Form.append(Item item)
Adds an Item into the Form. |
void |
ListItem.append(Item item)
Adds the specified item to this list. |
static int |
UiAccess.append(Item item,
javax.microedition.lcdui.Form form)
Adds the specified (J2ME Polish) item to the given form. |
static int |
UiAccess.append(Item item,
Form form)
Adds the specified (J2ME Polish) item to the given form. |
int |
Form.append(Item item,
Style itemStyle)
Adds an Item into the Form. |
int |
TabbedForm.append(Item item,
Style itemStyle)
Adds the item to the first tab of this form. |
int |
TabbedList.appendTab(Item item)
|
int |
TabbedList.appendTab(Item item,
int tabListType,
Style style)
|
int |
TabbedList.appendTab(Item item,
Style style)
|
void |
TreeItem.appendToNode(Item node,
Item item)
Adds the specified item to this tree. |
void |
TreeItem.appendToNode(Item node,
Item item,
Style nodeStyle)
Adds the specified item to this tree. |
Item |
TreeItem.appendToNode(Item node,
java.lang.String text,
javax.microedition.lcdui.Image image)
Adds the specified text/image to this tree. |
Item |
TreeItem.appendToNode(Item node,
java.lang.String text,
javax.microedition.lcdui.Image image,
Style childStyle)
Adds the specified text/image to this tree. |
void |
TreeItem.appendToRoot(Item item)
Adds the specified item to this list. |
void |
TreeItem.appendToRoot(Item item,
Style nodeStyle)
Adds the specified item to this list. |
static javax.microedition.lcdui.Item |
UiAccess.cast(Item item)
Casts the given J2ME Polish item into a LCDUI item |
static javax.microedition.lcdui.Item[] |
UiAccess.cast(Item[] items)
Casts the given J2ME Polish items into a LCDUI items |
protected boolean |
FramedForm.checkForRequestInit(Item source)
|
protected boolean |
Screen.checkForRequestInit(Item source)
Checks if this screen's content area should be refreshed when the specified item has changed it's size. |
void |
DateField.commandAction(javax.microedition.lcdui.Command c,
Item item)
|
void |
ChoiceGroup.commandAction(javax.microedition.lcdui.Command c,
Item item)
|
void |
TextField.commandAction(javax.microedition.lcdui.Command cmd,
Item item)
|
void |
ItemCommandListener.commandAction(javax.microedition.lcdui.Command c,
Item item)
Called by the system to indicate that a command has been invoked on a particular item. |
void |
FakeTextFieldCustomItem.commandAction(javax.microedition.lcdui.Command cmd,
Item item)
|
void |
FakeChoiceGroupCustomItem.commandAction(javax.microedition.lcdui.Command c,
Item item)
|
boolean |
PredictiveAccess.commandAction(javax.microedition.lcdui.Command cmd,
Item item)
|
protected void |
CustomItem.defocus(Item item,
Style originalStyle)
|
static void |
UiAccess.defocus(Item item,
Style style)
Defocuses the given item and sets the style to the specified one. |
void |
TabbedForm.delete(int tabIndex,
Item item)
Deletes the item from this form. |
void |
FilteredList.focus(int index,
Item item,
boolean force)
|
void |
Screen.focus(int index,
Item item,
boolean force)
Focuses the specified item. |
void |
Container.focus(int index,
Item item,
int direction)
Sets the focus to the given item. |
void |
FakeContainerCustomItem.focus(int index,
Item item,
int direction)
Sets the focus to the given item. |
void |
TabbedForm.focus(Item item)
|
void |
Screen.focus(Item item)
Focuses the specified item. |
void |
FilteredList.focus(Item item,
boolean force)
|
void |
Screen.focus(Item item,
boolean force)
Focuses the specified item. |
static Style |
UiAccess.focus(Item item,
int direction,
Style style)
Focusses the given item with the specified style. |
static void |
UiAccess.focus(Screen screen,
Item item)
Focuses the specified item on the given screen. |
protected boolean |
Container.focusClosestItem(int index,
Item[] myItems)
Focuses the next focussable item starting at the specified index +/- 1. |
protected boolean |
FakeContainerCustomItem.focusClosestItem(int index,
Item[] myItems)
Focuses the next focussable item starting at the specified index +/- 1. |
protected void |
ContainerView.focusItem(int index,
Item item)
Focuses the item with the given index. |
protected void |
ContainerView.focusItem(int index,
Item item,
int direction)
Focuses the item with the given index. |
Style |
ContainerView.focusItem(int index,
Item item,
int direction,
Style focusedStyle)
Focuses the given item and retrieves the previous style of that item. |
static java.lang.Object |
UiAccess.getAttribute(Item item,
java.lang.Object key)
Gets an previously added attribute of the specified item. |
static HashMap |
UiAccess.getAttributes(Item item)
Returns a HashMap object with all registered attributes. |
static Background |
UiAccess.getBackground(Item item)
Retrieves the background of the given item. |
protected Style |
Container.getFocusedStyle(int index,
Item item)
Retrieves the best matching focus style for the given item |
protected Style |
FakeContainerCustomItem.getFocusedStyle(int index,
Item item)
Retrieves the best matching focus style for the given item |
static int |
UiAccess.getInternalHeight(Item item)
Retrieves the internal height of the given item. |
static int |
UiAccess.getInternalWidth(Item item)
Retrieves the internal width of the given item. |
static int |
UiAccess.getInternalX(Item item)
Retrieves the internal x position of the given item. |
static int |
UiAccess.getInternalY(Item item)
Retrieves the internal y position of the given item. |
protected int |
ContainerView.getItemRelativeY(Item item)
|
protected Item |
ContainerView.getNextFocusableItem(Item[] items,
boolean forward,
int steps,
boolean allowCircle)
Retrieves the next focusable item. |
int |
Container.getPosition(Item item)
Retrieves the position of the specified item. |
int |
FakeContainerCustomItem.getPosition(Item item)
Retrieves the position of the specified item. |
static int[] |
UiAccess.getRgbData(Item item)
Retrieves the RGB data of the specified item. |
static int[] |
UiAccess.getRgbData(Item item,
int opacity)
Retrieves the RGB data of the specified item. |
static int[] |
UiAccess.getRgbDataOfContent(Item item)
Retrieves the RGB data of the specified item's content without using a view-type/ItemView. |
static void |
UiAccess.getRgbDataOfContent(Item item,
int[] rgbData,
int x,
int y,
int width)
Retrieves the RGB data of the specified item's content without using a view-type/ItemView. |
static Style |
UiAccess.getStyle(Item item)
Gets the current style of the given item. |
static Style |
StyleSheet.getStyle(Item item)
Retrieves the style for the given item. |
static java.lang.String |
UiAccess.getText(Item item)
Retrieves text from a J2ME Polish item. |
static boolean |
UiAccess.handleCommand(Item item,
javax.microedition.lcdui.Command cmd)
Asks the specified item to handle the command. |
protected boolean |
CustomItem.handleKeyPressed(Item item,
int keyCode,
int gameAction)
|
static boolean |
UiAccess.handleKeyPressed(Item item,
int keyCode,
int gameAction)
Forwards a key event to the specified item. |
static boolean |
UiAccess.handleKeyReleased(Item item,
int keyCode,
int gameAction)
Forwards a key event to the specified item. |
static boolean |
UiAccess.handleKeyRepeated(Item item,
int keyCode,
int gameAction)
Forwards a key event to the specified item. |
static boolean |
UiAccess.handlePointerPressed(Item item,
int x,
int y)
Forwards a key event to the specified item. |
static boolean |
UiAccess.handlePointerReleased(Item item,
int x,
int y)
Forwards a pointer event to the specified item. |
static void |
UiAccess.hideNotify(Item item)
Calls hide notify on the specified item. |
int |
Container.indexOf(Item item)
Retrieves the index of the specified item. |
int |
FakeContainerCustomItem.indexOf(Item item)
Retrieves the index of the specified item. |
int |
TableItem.indexOf(Item item)
|
static int |
UiAccess.indexOf(Item item,
Screen screen)
Retrieves the index of the specified item in the screen. |
static int |
UiAccess.indexOf(Item item,
javax.microedition.lcdui.Screen screen)
Retrieves the index of the specified item in the screen. |
protected abstract void |
ItemView.initContent(Item parent,
int firstLineWidth,
int lineWidth)
Initialises this item view. |
protected void |
ContainerView.initContent(Item parentContainerItem,
int firstLineWidth,
int lineWidth)
Initialises this item. |
protected void |
ItemView.initContentByParent(Item parent,
int firstLineWidth,
int lineWidth)
Calls the original initContent method on the parent. |
void |
TabbedForm.insert(int tabIndex,
int itemNum,
Item item)
Inserts an item into this form just prior to the item specified on the specified tab. |
void |
TabbedForm.insert(int tabIndex,
int itemNum,
Item item,
Style itemStyle)
Inserts an item into this form just prior to the item specified on the specified tab. |
void |
Form.insert(int itemNum,
Item item)
Inserts an item into the Form just prior to the item specified. |
void |
ListItem.insert(int position,
Item item)
Inserts the specified item into this list. |
void |
Form.insert(int itemNum,
Item item,
Style itemStyle)
Inserts an item into the Form just prior to the item specified. |
void |
ListItem.insert(int position,
Item item,
Style itemStyle)
Inserts the specified item into this list and provides it with a style. |
boolean |
Item.isInItemArea(int relX,
int relY,
Item child)
Determines whether the given relative x/y position is inside of the specified child item's area including paddings, margins and label. |
protected boolean |
ItemView.isValid(Item parent,
Style style)
Implementation that are valid only for specific item classes can override this method so that they cannot be accidently attached to unsupported classes. |
protected boolean |
ContainerView.isValid(Item parent,
Style style)
|
static boolean |
UiAccess.isVisible(Item item)
Gets the visible status of the specified item. |
void |
ItemStateListener.itemStateChanged(Item item)
Called when internal state of an Item has been
changed by the user. |
void |
FilteredList.itemStateChanged(Item item)
|
protected void |
Screen.notifyStateListener(Item item)
Adds the given item to the queue for state notifications. |
protected void |
ContainerView.paintContent(Container container,
Item[] myItems,
int x,
int y,
int leftBorder,
int rightBorder,
int clipX,
int clipY,
int clipWidth,
int clipHeight,
javax.microedition.lcdui.Graphics g)
Paints the content of this container view. |
protected abstract void |
ItemView.paintContent(Item parent,
int x,
int y,
int leftBorder,
int rightBorder,
javax.microedition.lcdui.Graphics g)
Paints this item view. |
protected void |
ContainerView.paintContent(Item parent,
int x,
int y,
int leftBorder,
int righ |