org.hecl.midp20.lcdui
Class WidgetInfo
java.lang.Object
org.hecl.midp20.lcdui.WidgetInfo
public class WidgetInfo
- extends java.lang.Object
Method Summary |
static javax.microedition.lcdui.Command |
asCommand(Thing thing,
boolean allownull,
boolean throwerror)
|
static javax.microedition.lcdui.Gauge |
asGauge(Thing thing,
boolean allownull,
boolean throwerror)
|
static javax.microedition.lcdui.Image |
asImage(Thing thing,
boolean allownull,
boolean throwerror)
|
static javax.microedition.lcdui.Item |
asItem(Thing thing,
boolean allownull,
boolean throwerror)
|
static javax.microedition.lcdui.Ticker |
asTicker(Thing thing,
boolean allownull,
boolean throwerror)
|
static java.lang.Object |
asWidget(Thing thing,
java.lang.Class clazz,
java.lang.String clazzname,
boolean allownull)
|
static java.lang.String |
commandLabel(javax.microedition.lcdui.Command c,
boolean shortonly)
|
static Properties |
defaultProps(java.lang.Class c)
|
static Thing |
fromAlertType(javax.microedition.lcdui.AlertType t)
|
static Thing |
fromCanvasAnchor(int t)
|
static Thing |
fromChoiceType(int t)
|
static Thing |
fromColor(org.awt.Color color)
|
static Thing |
fromColor(int t)
|
static Thing |
fromCommandType(int t)
|
static Thing |
fromDateFieldMode(int t)
|
static Thing |
fromFontFace(int t)
|
static Thing |
fromFontSize(int t)
|
static Thing |
fromGaugeInitial(int t)
|
static Thing |
fromGaugeMax(int t)
|
static Thing |
fromItemAnchor(int t)
|
static Thing |
fromItemAppearance(int t)
|
static Thing |
fromListType(int t)
|
static Thing |
fromTextType(int t)
|
static Thing |
fromWrap(int t)
|
protected static java.lang.String |
int2s(int v,
java.lang.String[] nametab,
int[] valtab,
java.lang.String emsg)
|
protected static Thing |
int2t(int v,
java.lang.String[] nametab,
int[] valtab,
java.lang.String emsg)
|
protected static int |
s2int(java.lang.String s,
java.lang.String[] nametab,
int[] valtab,
java.lang.String emsg)
|
static void |
showProps(java.lang.Class c)
|
protected static int |
t2int(Thing t,
java.lang.String[] nametab,
int[] valtab,
java.lang.String emsg)
|
static javax.microedition.lcdui.AlertType |
toAlertType(Thing t)
|
static int |
toCanvasAnchor(Thing t)
|
static int |
toChoiceType(Thing t)
|
static int |
toColor(Thing t)
|
static int |
toCommandType(Thing t)
|
static int |
toDateFieldMode(Thing t)
|
static int |
toFontFace(java.lang.String s)
|
static int |
toFontFace(Thing t)
|
static int |
toFontSize(java.lang.String s)
|
static int |
toFontSize(Thing t)
|
static int |
toGaugeInitial(Thing t)
|
static int |
toGaugeMax(Thing t)
|
static int |
toItemAnchor(Thing t)
|
static int |
toItemAppearance(Thing t)
|
static int |
toListType(Thing t)
|
static int |
toTextType(Thing t)
|
static int |
toWrap(Thing t)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NADDCOMMAND
public static final java.lang.String NADDCOMMAND
- See Also:
- Constant Field Values
NAPPEND
public static final java.lang.String NAPPEND
- See Also:
- Constant Field Values
NCGET
public static final java.lang.String NCGET
- See Also:
- Constant Field Values
NCONF
public static final java.lang.String NCONF
- See Also:
- Constant Field Values
NCONFIGURE
public static final java.lang.String NCONFIGURE
- See Also:
- Constant Field Values
NCREATE
public static final java.lang.String NCREATE
- See Also:
- Constant Field Values
NDELETE
public static final java.lang.String NDELETE
- See Also:
- Constant Field Values
NITEM
public static final java.lang.String NITEM
- See Also:
- Constant Field Values
NITEMCGET
public static final java.lang.String NITEMCGET
- See Also:
- Constant Field Values
NITEMCONF
public static final java.lang.String NITEMCONF
- See Also:
- Constant Field Values
NITEMCONFIGURE
public static final java.lang.String NITEMCONFIGURE
- See Also:
- Constant Field Values
NREMOVECOMMAND
public static final java.lang.String NREMOVECOMMAND
- See Also:
- Constant Field Values
NREPAINT
public static final java.lang.String NREPAINT
- See Also:
- Constant Field Values
NSETCURRENT
public static final java.lang.String NSETCURRENT
- See Also:
- Constant Field Values
NSIZE
public static final java.lang.String NSIZE
- See Also:
- Constant Field Values
NAPPEARANCE
public static final java.lang.String NAPPEARANCE
- See Also:
- Constant Field Values
NCLIPHEIGHT
public static final java.lang.String NCLIPHEIGHT
- See Also:
- Constant Field Values
NCLIPWIDTH
public static final java.lang.String NCLIPWIDTH
- See Also:
- Constant Field Values
NCLIPX
public static final java.lang.String NCLIPX
- See Also:
- Constant Field Values
NCLIPY
public static final java.lang.String NCLIPY
- See Also:
- Constant Field Values
NCODE
public static final java.lang.String NCODE
- See Also:
- Constant Field Values
NCOLOR
public static final java.lang.String NCOLOR
- See Also:
- Constant Field Values
NCOMMAND
public static final java.lang.String NCOMMAND
- See Also:
- Constant Field Values
NCOMMANDACTION
public static final java.lang.String NCOMMANDACTION
- See Also:
- Constant Field Values
NEXPAND
public static final java.lang.String NEXPAND
- See Also:
- Constant Field Values
NFIT
public static final java.lang.String NFIT
- See Also:
- Constant Field Values
NFONT
public static final java.lang.String NFONT
- See Also:
- Constant Field Values
NGROW
public static final java.lang.String NGROW
- See Also:
- Constant Field Values
NHEIGHT
public static final java.lang.String NHEIGHT
- See Also:
- Constant Field Values
NIMAGE
public static final java.lang.String NIMAGE
- See Also:
- Constant Field Values
NINTERACTIVE
public static final java.lang.String NINTERACTIVE
- See Also:
- Constant Field Values
NLABEL
public static final java.lang.String NLABEL
- See Also:
- Constant Field Values
NLINETYPE
public static final java.lang.String NLINETYPE
- See Also:
- Constant Field Values
NLONGLABEL
public static final java.lang.String NLONGLABEL
- See Also:
- Constant Field Values
NMAXLEN
public static final java.lang.String NMAXLEN
- See Also:
- Constant Field Values
NMAXVALUE
public static final java.lang.String NMAXVALUE
- See Also:
- Constant Field Values
NMINHEIGHT
public static final java.lang.String NMINHEIGHT
- See Also:
- Constant Field Values
NMINWIDTH
public static final java.lang.String NMINWIDTH
- See Also:
- Constant Field Values
NPRIO
public static final java.lang.String NPRIO
- See Also:
- Constant Field Values
NPREFERREDWIDTH
public static final java.lang.String NPREFERREDWIDTH
- See Also:
- Constant Field Values
NPREFERREDHEIGHT
public static final java.lang.String NPREFERREDHEIGHT
- See Also:
- Constant Field Values
NSELECTMODE
public static final java.lang.String NSELECTMODE
- See Also:
- Constant Field Values
NSELECTION
public static final java.lang.String NSELECTION
- See Also:
- Constant Field Values
NSUPPRESSKEYS
public static final java.lang.String NSUPPRESSKEYS
- See Also:
- Constant Field Values
NTEXT
public static final java.lang.String NTEXT
- See Also:
- Constant Field Values
NTICKER
public static final java.lang.String NTICKER
- See Also:
- Constant Field Values
NTITLE
public static final java.lang.String NTITLE
- See Also:
- Constant Field Values
NTRUNCATE
public static final java.lang.String NTRUNCATE
- See Also:
- Constant Field Values
NTYPE
public static final java.lang.String NTYPE
- See Also:
- Constant Field Values
NVALUE
public static final java.lang.String NVALUE
- See Also:
- Constant Field Values
NVEXPAND
public static final java.lang.String NVEXPAND
- See Also:
- Constant Field Values
NWIDTH
public static final java.lang.String NWIDTH
- See Also:
- Constant Field Values
codeprop
public static final WidgetProp codeprop
textprop
public static final WidgetProp textprop
labelprop
public static final WidgetProp labelprop
longlabelprop
public static final WidgetProp longlabelprop
titleprop
public static final WidgetProp titleprop
fitprop
public static final WidgetProp fitprop
selectprop
public static final WidgetProp selectprop
tickerprop
public static final WidgetProp tickerprop
prioprop
public static final WidgetProp prioprop
appearanceprop
public static final WidgetProp appearanceprop
minwidthprop
public static final WidgetProp minwidthprop
minheightprop
public static final WidgetProp minheightprop
widgetprops
public static final java.util.Hashtable widgetprops
WidgetInfo
public WidgetInfo()
asWidget
public static java.lang.Object asWidget(Thing thing,
java.lang.Class clazz,
java.lang.String clazzname,
boolean allownull)
throws HeclException
- Throws:
HeclException
asCommand
public static javax.microedition.lcdui.Command asCommand(Thing thing,
boolean allownull,
boolean throwerror)
throws HeclException
- Throws:
HeclException
asGauge
public static javax.microedition.lcdui.Gauge asGauge(Thing thing,
boolean allownull,
boolean throwerror)
throws HeclException
- Throws:
HeclException
asImage
public static javax.microedition.lcdui.Image asImage(Thing thing,
boolean allownull,
boolean throwerror)
throws HeclException
- Throws:
HeclException
asItem
public static javax.microedition.lcdui.Item asItem(Thing thing,
boolean allownull,
boolean throwerror)
throws HeclException
- Throws:
HeclException
asTicker
public static javax.microedition.lcdui.Ticker asTicker(Thing thing,
boolean allownull,
boolean throwerror)
throws HeclException
- Throws:
HeclException
toAlertType
public static javax.microedition.lcdui.AlertType toAlertType(Thing t)
throws HeclException
- Throws:
HeclException
fromAlertType
public static Thing fromAlertType(javax.microedition.lcdui.AlertType t)
throws HeclException
- Throws:
HeclException
t2int
protected static int t2int(Thing t,
java.lang.String[] nametab,
int[] valtab,
java.lang.String emsg)
throws HeclException
- Throws:
HeclException
s2int
protected static int s2int(java.lang.String s,
java.lang.String[] nametab,
int[] valtab,
java.lang.String emsg)
throws HeclException
- Throws:
HeclException
int2t
protected static Thing int2t(int v,
java.lang.String[] nametab,
int[] valtab,
java.lang.String emsg)
throws HeclException
- Throws:
HeclException
int2s
protected static java.lang.String int2s(int v,
java.lang.String[] nametab,
int[] valtab,
java.lang.String emsg)
throws HeclException
- Throws:
HeclException
toColor
public static int toColor(Thing t)
throws HeclException
- Throws:
HeclException
fromColor
public static Thing fromColor(org.awt.Color color)
throws HeclException
- Throws:
HeclException
fromColor
public static Thing fromColor(int t)
throws HeclException
- Throws:
HeclException
toCanvasAnchor
public static int toCanvasAnchor(Thing t)
throws HeclException
- Throws:
HeclException
fromCanvasAnchor
public static Thing fromCanvasAnchor(int t)
throws HeclException
- Throws:
HeclException
toChoiceType
public static int toChoiceType(Thing t)
throws HeclException
- Throws:
HeclException
fromChoiceType
public static Thing fromChoiceType(int t)
throws HeclException
- Throws:
HeclException
toListType
public static int toListType(Thing t)
throws HeclException
- Throws:
HeclException
fromListType
public static Thing fromListType(int t)
throws HeclException
- Throws:
HeclException
toTextType
public static int toTextType(Thing t)
throws HeclException
- Throws:
HeclException
fromTextType
public static Thing fromTextType(int t)
throws HeclException
- Throws:
HeclException
toWrap
public static int toWrap(Thing t)
throws HeclException
- Throws:
HeclException
fromWrap
public static Thing fromWrap(int t)
throws HeclException
- Throws:
HeclException
commandLabel
public static java.lang.String commandLabel(javax.microedition.lcdui.Command c,
boolean shortonly)
toCommandType
public static int toCommandType(Thing t)
throws HeclException
- Throws:
HeclException
fromCommandType
public static Thing fromCommandType(int t)
throws HeclException
- Throws:
HeclException
toFontFace
public static int toFontFace(Thing t)
throws HeclException
- Throws:
HeclException
toFontFace
public static int toFontFace(java.lang.String s)
throws HeclException
- Throws:
HeclException
fromFontFace
public static Thing fromFontFace(int t)
throws HeclException
- Throws:
HeclException
toFontSize
public static int toFontSize(Thing t)
throws HeclException
- Throws:
HeclException
toFontSize
public static int toFontSize(java.lang.String s)
throws HeclException
- Throws:
HeclException
fromFontSize
public static Thing fromFontSize(int t)
throws HeclException
- Throws:
HeclException
toItemAnchor
public static int toItemAnchor(Thing t)
throws HeclException
- Throws:
HeclException
fromItemAnchor
public static Thing fromItemAnchor(int t)
throws HeclException
- Throws:
HeclException
toItemAppearance
public static int toItemAppearance(Thing t)
throws HeclException
- Throws:
HeclException
fromItemAppearance
public static Thing fromItemAppearance(int t)
throws HeclException
- Throws:
HeclException
toDateFieldMode
public static int toDateFieldMode(Thing t)
throws HeclException
- Throws:
HeclException
fromDateFieldMode
public static Thing fromDateFieldMode(int t)
throws HeclException
- Throws:
HeclException
toGaugeInitial
public static int toGaugeInitial(Thing t)
throws HeclException
- Throws:
HeclException
fromGaugeInitial
public static Thing fromGaugeInitial(int t)
throws HeclException
- Throws:
HeclException
toGaugeMax
public static int toGaugeMax(Thing t)
throws HeclException
- Throws:
HeclException
fromGaugeMax
public static Thing fromGaugeMax(int t)
throws HeclException
- Throws:
HeclException
showProps
public static void showProps(java.lang.Class c)
defaultProps
public static Properties defaultProps(java.lang.Class c)