|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rim.device.api.ui.Field
net.rim.device.api.ui.Manager
com.sybase.uep.bobclient.controls.LayoutManager
com.sybase.uep.bobclient.controls.RegionManager
com.sybase.uep.bobclient.controls.RadioBoxGroup
public class RadioBoxGroup
This is the Radio box group control
Field Summary |
---|
Fields inherited from class com.sybase.uep.bobclient.controls.LayoutManager |
---|
_columnPercentages, _controlID, _currentRowLayout, _customEventsHandler, _orientation, DEFAULT_MARGIN, DEFAULT_SPACING |
Fields inherited from class net.rim.device.api.ui.Manager |
---|
BOTTOMMOST, DOWNWARD, HORIZONTAL_SCROLL, HORIZONTAL_SCROLL_MASK, HORIZONTAL_SCROLLBAR, HORIZONTAL_SCROLLBAR_MASK, LEAVE_BLANK_SPACE, LEFTMOST, LEFTWARD, NO_HORIZONTAL_SCROLL, NO_HORIZONTAL_SCROLLBAR, NO_SCROLL_RESET, NO_VERTICAL_SCROLL, NO_VERTICAL_SCROLLBAR, QUANTA_FONT, RIGHTMOST, RIGHTWARD, TOPMOST, UPWARD, VERTICAL_SCROLL, VERTICAL_SCROLL_MASK, VERTICAL_SCROLLBAR, VERTICAL_SCROLLBAR_MASK |
Fields inherited from class net.rim.device.api.ui.Field |
---|
ACTION_INVOKE, EDITABLE, EDITABLE_MASK, FIELD_BOTTOM, FIELD_HALIGN_MASK, FIELD_HCENTER, FIELD_LEADING, FIELD_LEFT, FIELD_RIGHT, FIELD_TOP, FIELD_TRAILING, FIELD_VALIGN_MASK, FIELD_VCENTER, FOCUSABLE, FOCUSABLE_MASK, HIGHLIGHT_FOCUS, HIGHLIGHT_SELECT, NON_FOCUSABLE, NON_SPELLCHECKABLE, READONLY, SPELLCHECKABLE, SPELLCHECKABLE_MASK, STATUS_MOVE_FOCUS_HORIZONTALLY, STATUS_MOVE_FOCUS_VERTICALLY, USE_ALL_HEIGHT, USE_ALL_WIDTH, VISUAL_STATE_ACTIVE, VISUAL_STATE_DISABLED, VISUAL_STATE_DISABLED_FOCUS, VISUAL_STATE_FOCUS, VISUAL_STATE_NORMAL |
Fields inherited from interface net.rim.device.api.ui.FieldChangeListener |
---|
PROGRAMMATIC |
Constructor Summary | |
---|---|
RadioBoxGroup(int numColumns,
int[] columnPercentages,
FontStyle displayStyle)
Radio box group constructor |
Method Summary | |
---|---|
void |
addRadioBox(RadioBox radioBox)
Add Radio Box |
void |
addRadioBox(RadioBox radioBox,
int colspan,
int rowspan)
Add Radio Box |
void |
fieldChanged(net.rim.device.api.ui.Field field,
int context)
(non-Javadoc) |
LogicalType |
getLogicalType()
Get logical type assign to this text input |
java.lang.String |
getName()
The name of the key for the radiobox |
java.lang.Object |
getPIMValue()
Get the PIM value |
java.lang.String |
getSchemaType()
Get schema type assign to this text input |
RadioBox |
getSelectedRadioBox()
|
java.lang.Object |
getValue()
Get the value for this input |
protected void |
paint(net.rim.device.api.ui.Graphics g)
Redraws this field |
void |
refresh()
Refresh |
void |
setFocusFontStyle(FontStyle fontStyle)
Set the selected font style for radiobox group |
void |
setLogicalType(LogicalType logicalType)
Set logical type |
void |
setName(java.lang.String name)
Set radio group name |
void |
setPIMValue(java.lang.Object value)
Set the PIM value |
void |
setProperty(int key,
java.lang.String value)
Set the property values |
void |
setRadioBoxes(java.util.Vector radioBoxes)
Set radio boxes |
void |
setSchemaType(java.lang.String schemaType)
Set the schema type |
void |
setSelectedByLabel()
Set the selected Radio Box by label |
void |
setSelectedByLabel(java.lang.String label)
Set the selected Radio Box by label |
void |
setSelectedByValue(java.lang.String value)
Set the selected Radio Box by value |
void |
setSelectedRadioName(int radioNameRID)
Set radio name by localization resource ID |
void |
setSelectedRadioName(java.lang.String radioName)
Set radio name |
void |
setUnfocusFontStyle(FontStyle fontStyle)
Set the unselected font style for radiobox group |
void |
setVariableSelected(ControlVariable variable)
Set the control variable object to determine which radio box is selected |
Methods inherited from class com.sybase.uep.bobclient.controls.RegionManager |
---|
getColSpan, getHorizontalAlignment, getPreferredHeight, getPreferredWidth, getRowSpan, getVerticalAlignment, isShowBorder, paintBackground, setBackgroundColor, setColSpan, setLayoutHeight, setLayoutWidth, setRowSpan, setShowBorder |
Methods inherited from class net.rim.device.api.ui.Manager |
---|
add, clearCustomScrollArrows, delete, deleteRange, getAccessibleContext, getField, getFieldAtLocation, getFieldCount, getFieldWithFocusIndex, getFocusRect, getHorizontalScroll, getLeafFieldWithFocus, getPreferredHeightOfChild, getPreferredWidthOfChild, getVerticalScroll, getVirtualHeight, getVirtualWidth, getVisibleHeight, getVisibleWidth, insert, invalidate, invalidate, invalidateFieldRange, invokeAction, isDataValid, isDirty, isDownArrowShown, isFocusable, isMuddy, isSelecting, isUpArrowShown, isValidLayout, keyChar, keyControl, keyDown, keyRepeat, keyStatus, keyUp, layout, layoutChild, makeMenu, moveFocus, moveFocus, moveFocus, nextFocus, nextFocus, onUndisplay, paintChild, replace, setDirty, setFocus, setHorizontalQuantization, setHorizontalScroll, setNonfocusableOverride, setPositionChild, setScrollListener, setVerticalQuantization, setVerticalScroll, setVirtualExtent, subpaint, touchEvent, trackwheelClick, trackwheelUnclick |
Methods inherited from class net.rim.device.api.ui.Field |
---|
drawHighlightRegion, fieldChangeNotify, focusAdd, focusChangeNotify, focusRemove, getBackground, getBackground, getBorder, getBorder, getBorder, getChangeListener, getContentHeight, getContentLeft, getContentRect, getContentRect, getContentTop, getContentWidth, getContextMenu, getContextMenu, getCookie, getExtent, getExtent, getFieldStyle, getFocusListener, getFont, getHeight, getIndex, getLeft, getManager, getMargin, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getOriginal, getPadding, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getScreen, getState, getStyle, getTop, getVisualState, getWidth, invalidateAll, isEditable, isFocus, isPasteable, isSelectable, isSelectionCopyable, isSelectionCutable, isSelectionDeleteable, isSpellCheckable, isStyle, isVisible, makeContextMenu, makeContextMenu, onDisplay, onExposed, onMenuDismissed, onMenuDismissed, onObscured, onVisibilityChange, paste, select, selectionCopy, selectionCut, selectionDelete, setBackground, setBackground, setBorder, setBorder, setBorder, setBorder, setBorder, setChangeListener, setCookie, setEditable, setExtent, setFocus, setFocusListener, setFont, setFont, setMargin, setMargin, setMuddy, setNonSpellCheckable, setPadding, setPadding, setPosition, setVisualState, updateLayout |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RadioBoxGroup(int numColumns, int[] columnPercentages, FontStyle displayStyle)
Method Detail |
---|
public java.lang.String getName()
getName
in interface Control
getName
in class RegionManager
Control.getName()
public LogicalType getLogicalType()
getLogicalType
in interface PIMControl
public void setLogicalType(LogicalType logicalType)
logicalType
- - LogicalType objectpublic java.lang.String getSchemaType()
getSchemaType
in interface PIMControl
public void setSchemaType(java.lang.String schemaType)
schemaType
- - string value fo the schema typepublic void setPIMValue(java.lang.Object value)
setPIMValue
in interface PIMControl
value
- - Object valuepublic java.lang.Object getPIMValue()
getPIMValue
in interface PIMControl
public java.lang.Object getValue()
getValue
in interface Control
getValue
in class RegionManager
Control.getValue()
public void setSelectedByLabel()
public void setSelectedByLabel(java.lang.String label)
label
- - label of the radio box to searchpublic void setSelectedByValue(java.lang.String value)
value
- - value of the radio box to searchpublic void setVariableSelected(ControlVariable variable)
variable
- - control variable objectpublic RadioBox getSelectedRadioBox()
public void addRadioBox(RadioBox radioBox)
radioBox
- - radio box objectpublic void addRadioBox(RadioBox radioBox, int colspan, int rowspan)
radioBox
- - radio box objectcolspan
- - number of columns this widget will take uprowspan
- - number of rows this widget will take uppublic void refresh()
refresh
in interface Control
refresh
in class RegionManager
Control.refresh()
public void setProperty(int key, java.lang.String value)
key
- - Unique key of a specific button attributevalue
- - The supplied value for this attributeprotected void paint(net.rim.device.api.ui.Graphics g)
paint
in class RegionManager
g
- - Graphics context for repainting this field.Field.paint(Graphics g)
public void setName(java.lang.String name)
name
- - name of the radio grouppublic void setSelectedRadioName(java.lang.String radioName)
selectedRadioName
- - name of the selected radio boxpublic void setSelectedRadioName(int radioNameRID)
selectedRadioNameRID
- - Localization resource ID of the name of the selected radio boxpublic void setRadioBoxes(java.util.Vector radioBoxes)
radioBoxes
- - Vector of RadioBox objectspublic void setFocusFontStyle(FontStyle fontStyle)
fontStyle
- FontStyle
font style objectFontStyle
public void setUnfocusFontStyle(FontStyle fontStyle)
fontStyle
- FontStyle
font style objectFontStyle
public void fieldChanged(net.rim.device.api.ui.Field field, int context)
fieldChanged
in interface net.rim.device.api.ui.FieldChangeListener
FieldChangeListener.fieldChanged(Field field, int context)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |