| javax.microedition.lcdui.ChoiceGroupLF
All known Subclasses: javax.microedition.lcdui.ChoiceGroupLFImpl,
ChoiceGroupLF | interface ChoiceGroupLF extends ItemLF(Code) | | Look and Feel interface used by ChoiceGroup.
See Naming Conventions
for information about method naming conventions.
|
Method Summary | |
Font | getDefaultFont() | void | lDelete(int elementNum) Notifies L&F that an element referenced by elementNum
was deleted in the corresponding ChoiceGroup. | void | lDeleteAll() Notifies L&F that all elements
were deleted in the corresponding ChoiceGroup. | int | lGetSelectedFlags(boolean[] selectedArray_return) Get selected flags. | int | lGetSelectedIndex() Get current selected index. | void | lInsert(int elementNum, String stringPart, Image imagePart) Notifies L&F that an element was inserted into the
ChoiceGroup at the the elementNum specified. | boolean | lIsSelected(int elementNum) Determines if an element with a passed in index
is selected or not. | void | lSet(int elementNum, String stringPart, Image imagePart) Notifies L&F that the String and
Image parts of the
element referenced by elementNum were set in
the corresponding ChoiceGroup,
replacing the previous contents of the element. | void | lSetFitPolicy(int fitPolicy) Notifies L&F that a new text fit policy was set in the corresponding
ChoiceGroup. | void | lSetFont(int elementNum, Font font) Notifies L&F that a new font was set for an element with the
specified elementNum in the corresponding ChoiceGroup. | void | lSetSelectedFlags(boolean[] selectedArray) Notifies L&F that selected state was changed on several elements
in the corresponding MULTIPLE ChoiceGroup. | void | lSetSelectedIndex(int elementNum, boolean selected) Notifies L&F that an element was selected/deselected in the
corresponding ChoiceGroup.
Parameters: elementNum - the number of the element. |
getDefaultFont | Font getDefaultFont()(Code) | | Gets default font to render ChoiceGroup element if it was not
set by the application
- the font to render ChoiceGroup element if it was not set by the app |
lDelete | void lDelete(int elementNum)(Code) | | Notifies L&F that an element referenced by elementNum
was deleted in the corresponding ChoiceGroup.
Parameters: elementNum - the index of the deleted element |
lDeleteAll | void lDeleteAll()(Code) | | Notifies L&F that all elements
were deleted in the corresponding ChoiceGroup.
|
lGetSelectedFlags | int lGetSelectedFlags(boolean[] selectedArray_return)(Code) | | Get selected flags.
Parameters: selectedArray_return - to contain the results the number of selected elements |
lGetSelectedIndex | int lGetSelectedIndex()(Code) | | Get current selected index.
currently selected index |
lInsert | void lInsert(int elementNum, String stringPart, Image imagePart)(Code) | | Notifies L&F that an element was inserted into the
ChoiceGroup at the the elementNum specified.
Parameters: elementNum - the index of the element where insertion occurred Parameters: stringPart - the string part of the element to be inserted Parameters: imagePart - the image part of the element to be inserted,or null if there is no image part |
lIsSelected | boolean lIsSelected(int elementNum)(Code) | | Determines if an element with a passed in index
is selected or not.
Parameters: elementNum - the index of an element in question true if the element is selected, false - otherwise |
lSet | void lSet(int elementNum, String stringPart, Image imagePart)(Code) | | Notifies L&F that the String and
Image parts of the
element referenced by elementNum were set in
the corresponding ChoiceGroup,
replacing the previous contents of the element.
Parameters: elementNum - the index of the element set Parameters: stringPart - the string part of the new element Parameters: imagePart - the image part of the element, or null if there is no image part |
lSetFitPolicy | void lSetFitPolicy(int fitPolicy)(Code) | | Notifies L&F that a new text fit policy was set in the corresponding
ChoiceGroup.
Parameters: fitPolicy - preferred content fit policy for choice elements |
lSetFont | void lSetFont(int elementNum, Font font)(Code) | | Notifies L&F that a new font was set for an element with the
specified elementNum in the corresponding ChoiceGroup.
Parameters: elementNum - the index of the element, starting from zero Parameters: font - the preferred font to use to render the element |
lSetSelectedFlags | void lSetSelectedFlags(boolean[] selectedArray)(Code) | | Notifies L&F that selected state was changed on several elements
in the corresponding MULTIPLE ChoiceGroup.
Parameters: selectedArray - an array in which the method collect theselection status |
lSetSelectedIndex | void lSetSelectedIndex(int elementNum, boolean selected)(Code) | | Notifies L&F that an element was selected/deselected in the
corresponding ChoiceGroup.
Parameters: elementNum - the number of the element. Indexing of theelements is zero-based Parameters: selected - the new state of the element true=selected ,false=not selected |
|
|