📄 loginscreenexample.vmd
字号:
<?xml version="1.0" encoding="UTF-8"?><VisualDesign projectType="vmd-midp" version="1"> <Document version="2"> <Component componentID="0" typeID="C#Root"> <Property name="version" typeID="Pjava.lang.String" value="VMIDP-2.0"/> <Component componentID="11" typeID="C#CommandsCategory"> <Component componentID="14" typeID="C#WaitScreenSuccessCommand"> <Property name="label" typeID="Pjava.lang.String" value="VSuccess"/> <Property name="type" typeID="Pint" value="V4"/> <Property name="priority" typeID="Pint" value="V0"/> <Property name="ordinary" typeID="Pboolean" value="Vfalse"/> </Component> <Component componentID="15" typeID="C#WaitScreenFailureCommand"> <Property name="label" typeID="Pjava.lang.String" value="VFailure"/> <Property name="type" typeID="Pint" value="V4"/> <Property name="priority" typeID="Pint" value="V0"/> <Property name="ordinary" typeID="Pboolean" value="Vfalse"/> </Component> <Component componentID="21" typeID="C#ListSelectCommand"> <Property name="label" typeID="Pjava.lang.String" value="V"/> <Property name="type" typeID="Pint" value="V1"/> <Property name="priority" typeID="Pint" value="V0"/> <Property name="ordinary" typeID="Pboolean" value="Vfalse"/> </Component> <Component componentID="26" typeID="C#SplashScreenDismissCommand"> <Property name="label" typeID="Pjava.lang.String" value="VDismiss"/> <Property name="type" typeID="Pint" value="V4"/> <Property name="priority" typeID="Pint" value="V0"/> <Property name="ordinary" typeID="Pboolean" value="Vfalse"/> </Component> <Component componentID="30" typeID="C#LoginScreenLoginCommand"> <Property name="label" typeID="Pjava.lang.String" value="VLogin"/> <Property name="type" typeID="Pint" value="V4"/> <Property name="priority" typeID="Pint" value="V0"/> <Property name="ordinary" typeID="Pboolean" value="Vfalse"/> </Component> <Component componentID="33" typeID="Cjavax.microedition.lcdui.Command"> <Property name="instanceName" typeID="Pjava.lang.String" value="VexitCommand"/> <Property name="label" typeID="Pjava.lang.String" value="VExit"/> <Property name="type" typeID="Pint" value="V7"/> </Component> </Component> <Component componentID="12" typeID="C#ResourcesCategory"> <Component componentID="18" typeID="Corg.netbeans.microedition.util.SimpleCancellableTask"> <Property name="instanceName" typeID="Pjava.lang.String" value="Vtask"/> </Component> </Component> <Component componentID="6" typeID="C#ControllersCategory"> <Component componentID="8" typeID="C#ItemCommandListener"/> <Component componentID="7" typeID="C#CommandListener"/> <Component componentID="9" typeID="C#ItemStateListener"/> </Component> <Component componentID="1" typeID="C#PointsCategory"> <Component componentID="2" typeID="C#MobileDevice"> <Property name="start" typeID="C#MobileDeviceStartEventSource" value="R3"/> <Property name="resume" typeID="C#MobileDeviceResumeEventSource" value="R4"/> <Component componentID="4" typeID="C#MobileDeviceResumeEventSource"/> <Component componentID="3" typeID="C#MobileDeviceStartEventSource"> <Property name="eventHandler" typeID="C#EventHandler" value="R28"/> <Component componentID="28" typeID="C#SwitchDisplayableEventHandler"> <Property name="eventSource" typeID="C#EventSource" value="R3"/> <Property name="displayable" typeID="Cjavax.microedition.lcdui.Displayable" value="R25"/> </Component> </Component> </Component> <Component componentID="5" typeID="C#Display"/> </Component> <Component componentID="10" typeID="C#DisplayablesCategory"> <Component componentID="13" typeID="Corg.netbeans.microedition.lcdui.WaitScreen"> <Property name="instanceName" typeID="Pjava.lang.String" value="VwaitScreen"/> <Property name="commands" typeID="1C#CommandEventSource" value="A2:3_R163_R17"/> <Property name="title" typeID="Pjava.lang.String" value="VwaitScreen"/> <Property name="commandListener" typeID="C#CommandListener" value="R7"/> <Property name="text" typeID="Pjava.lang.String" value="VPlease Wait ..."/> <Property name="task" typeID="Corg.netbeans.microedition.util.CancellableTask" value="R18"/> <Component componentID="16" typeID="C#WaitScreenSuccessCommandEventSource"> <Property name="eventHandler" typeID="C#EventHandler" value="R40"/> <Property name="displayable" typeID="Cjavax.microedition.lcdui.Displayable" value="R13"/> <Property name="command" typeID="Cjavax.microedition.lcdui.Command" value="R14"/> <Component componentID="40" typeID="C#SwitchDisplayableEventHandler"> <Property name="eventSource" typeID="C#EventSource" value="R16"/> <Property name="displayable" typeID="Cjavax.microedition.lcdui.Displayable" value="R29"/> <Property name="alert" typeID="Cjavax.microedition.lcdui.Alert" value="R39"/> </Component> </Component> <Component componentID="17" typeID="C#WaitScreenFailureCommandEventSource"> <Property name="eventHandler" typeID="C#EventHandler" value="R38"/> <Property name="displayable" typeID="Cjavax.microedition.lcdui.Displayable" value="R13"/> <Property name="command" typeID="Cjavax.microedition.lcdui.Command" value="R15"/> <Component componentID="38" typeID="C#SwitchDisplayableEventHandler"> <Property name="eventSource" typeID="C#EventSource" value="R17"/> <Property name="displayable" typeID="Cjavax.microedition.lcdui.Displayable" value="R29"/> <Property name="alert" typeID="Cjavax.microedition.lcdui.Alert" value="R37"/> </Component> </Component> </Component> <Component componentID="25" typeID="Corg.netbeans.microedition.lcdui.SplashScreen"> <Property name="instanceName" typeID="Pjava.lang.String" value="VsplashScreen"/> <Property name="commands" typeID="1C#CommandEventSource" value="A1:3_R27"/> <Property name="title" typeID="Pjava.lang.String" value="VsplashScreen"/> <Property name="commandListener" typeID="C#CommandListener" value="R7"/> <Property name="text" typeID="Pjava.lang.String" value="V Login Screen Example"/> <Component componentID="27" typeID="C#SplashScreenDismissCommandEventSource"> <Property name="eventHandler" typeID="C#EventHandler" value="R32"/> <Property name="displayable" typeID="Cjavax.microedition.lcdui.Displayable" value="R25"/> <Property name="command" typeID="Cjavax.microedition.lcdui.Command" value="R26"/> <Component componentID="32" typeID="C#SwitchDisplayableEventHandler"> <Property name="eventSource" typeID="C#EventSource" value="R27"/> <Property name="displayable" typeID="Cjavax.microedition.lcdui.Displayable" value="R29"/> </Component> </Component> </Component> <Component componentID="29" typeID="Corg.netbeans.microedition.lcdui.LoginScreen"> <Property name="instanceName" typeID="Pjava.lang.String" value="VloginScreen"/> <Property name="commands" typeID="1C#CommandEventSource" value="A2:3_R313_R34"/> <Property name="title" typeID="Pjava.lang.String" value="VloginScreen"/> <Property name="commandListener" typeID="C#CommandListener" value="R7"/> <Property name="useButton" typeID="Pboolean" value="Vfalse"/> <Property name="backgroundColor" typeID="Pint" value="V-3355444"/> <Property name="foregroungColor" typeID="Pint" value="V0"/> <Property name="usernameLabel" typeID="Pjava.lang.String" value="VUsername:"/> <Property name="passwordLabel" typeID="Pjava.lang.String" value="VPassword:"/> <Component componentID="31" typeID="C#LoginScreenLoginCommandEventSource"> <Property name="eventHandler" typeID="C#EventHandler" value="R36"/> <Property name="displayable" typeID="Cjavax.microedition.lcdui.Displayable" value="R29"/> <Property name="command" typeID="Cjavax.microedition.lcdui.Command" value="R30"/> <Component componentID="36" typeID="C#SwitchDisplayableEventHandler"> <Property name="eventSource" typeID="C#EventSource" value="R31"/> <Property name="displayable" typeID="Cjavax.microedition.lcdui.Displayable" value="R13"/> </Component> </Component> <Component componentID="34" typeID="C#CommandEventSource"> <Property name="eventHandler" typeID="C#EventHandler" value="R35"/> <Property name="displayable" typeID="Cjavax.microedition.lcdui.Displayable" value="R29"/> <Property name="command" typeID="Cjavax.microedition.lcdui.Command" value="R33"/> <Component componentID="35" typeID="C#ExitMidletEventHandler"> <Property name="eventSource" typeID="C#EventSource" value="R34"/> <Property name="mobileDevice" typeID="C#MobileDevice" value="R2"/> </Component> </Component> </Component> <Component componentID="37" typeID="Cjavax.microedition.lcdui.Alert"> <Property name="instanceName" typeID="Pjava.lang.String" value="ValertFailure"/> <Property name="title" typeID="Pjava.lang.String" value="Valert"/> <Property name="commandListener" typeID="C#CommandListener" value="R7"/> <Property name="string" typeID="Pjava.lang.String" value="VError"/> <Property name="timeout" typeID="Pint" value="V-2"/> </Component> <Component componentID="39" typeID="Cjavax.microedition.lcdui.Alert"> <Property name="instanceName" typeID="Pjava.lang.String" value="ValertSuccess"/> <Property name="title" typeID="Pjava.lang.String" value="Valert1"/> <Property name="commandListener" typeID="C#CommandListener" value="R7"/> <Property name="timeout" typeID="Pint" value="V-2"/> </Component> </Component> </Component> </Document> <FlowScene version="1"> <Node componentID="13" descriptorID="componentNode13" x="172" y="247"/> <Node componentID="25" descriptorID="componentNode25" x="173" y="97"/> <Node componentID="2" descriptorID="componentNode2" x="15" y="12"/> <Node componentID="29" descriptorID="componentNode29" x="353" y="164"/> <Node componentID="39" descriptorID="componentNode39" x="171" y="444"/> <Node componentID="37" descriptorID="componentNode37" x="174" y="377"/> </FlowScene></VisualDesign>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -