|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sybase.uep.bobclient.utils.TextInputUtil
public class TextInputUtil
Constructor Summary | |
---|---|
TextInputUtil()
|
Method Summary | |
---|---|
static ITextInput |
createTextInputForPK(java.lang.String name,
boolean isProtected,
boolean isDrawBg)
static factory method to create instance of ITextInput according specified parameters |
static void |
datePicker(java.lang.String datetype,
ITextInput textInput)
Create a date picker |
static void |
fileFileExplorer(boolean imageExplorerOnly,
ITextInput textInput)
Open the image file explorer for the user to select the image on the device |
static int |
getNumberSplitParts(java.lang.String str,
net.rim.device.api.ui.Font f,
int width,
boolean isPassword)
Split the label into pieces if it's too long |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextInputUtil()
Method Detail |
---|
public static void datePicker(java.lang.String datetype, ITextInput textInput)
datetype
- String
value for the data typepublic static void fileFileExplorer(boolean imageExplorerOnly, ITextInput textInput)
imageExplorerOnly
- true
to show images only in the file explorer, otherwise false
public static ITextInput createTextInputForPK(java.lang.String name, boolean isProtected, boolean isDrawBg)
name
- isProtected
- datatype
- isDrawBg
-
public static int getNumberSplitParts(java.lang.String str, net.rim.device.api.ui.Font f, int width, boolean isPassword)
str
- String
value for the labelf
- Font
being usedwidth
- int
value for the available widthisPassword
- boolean
for password input or not
int
value for the size of the array for the splits of the label
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |