Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

xVoting.MatchSetupLoginPanel

Extends
MatchSetupPanelBase
Modifiers
config ( LoginCache )

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- XInterface.UT2K4TabPanel
                  |   
                  +-- xVoting.MatchSetupPanelBase
                     |   
                     +-- xVoting.MatchSetupLoginPanel

Variables Summary
GUIButtonb_Cancel
GUIButtonb_Submit
moEditBoxed_LoginName
moEditBoxed_LoginPassword
GUILabell_Status
GUILabell_Title
MatchSetupLoginPanel
boolbAutoLogin
boolbKeepHistory
stringButtonLoginText
stringButtonLogoutText
stringCurrentIP
stringCurrentPort
stringInvalidLoginText
stringLoggedText
array<AutoLoginInfo>LoginHistory
stringNoPasswordSpecified
stringNoUsernameSpecified
stringPleaseWaitText
stringWaitingForLoginText
Inherited Variables from xVoting.MatchSetupPanelBase
bDirty, Group, VRI

Functions Summary
functionint FindCredentials (coerce string IP, coerce string Port ))
function InitComponent (GUIController C, GUIComponent O ))
functionbool InternalOnClick (GUIComponent Sender))
function LoggedIn ()))
function LoggedOut ()))
function LoginFailed ()))
function Opened (GUIComponent Sender))
functionbool PasswordKeyEvent (out byte Key, out byte State, float Delta ))
function ReceiveComplete ()))
function SaveCredentials ()))
function SendLogin (string UserName, string Password ))
function SendLogout ()
function UpdateStatus (string NewStatusMsg ))
function UpdateSubmitButton ()))
functionbool UserNameKeyEvent (out byte Key, out byte State, float Delta ))
Inherited Functions from xVoting.MatchSetupPanelBase
Free, HandleResponse, InitPanel, InternalOnChange, IsAdmin, IsLoggedIn, LoggedIn, LoggedOut, ReceiveComplete, SubmitChanges


Variables Detail

b_Cancel Source code

var automated GUIButton b_Cancel;

b_Submit Source code

var automated GUIButton b_Submit;

ed_LoginName Source code

var automated moEditBox ed_LoginName;

ed_LoginPassword Source code

var automated moEditBox ed_LoginPassword;

l_Status Source code

var automated GUILabel l_Status;

l_Title Source code

var automated GUILabel l_Title;

MatchSetupLoginPanel

bAutoLogin Source code

var(MatchSetupLoginPanel) config bool bAutoLogin;

bKeepHistory Source code

var(MatchSetupLoginPanel) config bool bKeepHistory;

ButtonLoginText Source code

var(MatchSetupLoginPanel) localized string ButtonLoginText;

ButtonLogoutText Source code

var(MatchSetupLoginPanel) localized string ButtonLogoutText;

CurrentIP Source code

var(MatchSetupLoginPanel) editconst noexport string CurrentIP;

CurrentPort Source code

var(MatchSetupLoginPanel) editconst noexport string CurrentPort;

InvalidLoginText Source code

var(MatchSetupLoginPanel) localized string InvalidLoginText;

LoggedText Source code

var(MatchSetupLoginPanel) localized string LoggedText;

LoginHistory Source code

var(MatchSetupLoginPanel) config array<AutoLoginInfo> LoginHistory;

NoPasswordSpecified Source code

var(MatchSetupLoginPanel) localized string NoPasswordSpecified;

NoUsernameSpecified Source code

var(MatchSetupLoginPanel) localized string NoUsernameSpecified;

PleaseWaitText Source code

var(MatchSetupLoginPanel) localized string PleaseWaitText;

WaitingForLoginText Source code

var(MatchSetupLoginPanel) localized string WaitingForLoginText;


Functions Detail

FindCredentials Source code

protected function int FindCredentials ( coerce string IP, coerce string Port ) )

InitComponent Source code

function InitComponent ( GUIController C, GUIComponent O ) )

InternalOnClick Source code

function bool InternalOnClick ( GUIComponent Sender) )

LoggedIn Source code

function LoggedIn ( ) )

LoggedOut Source code

function LoggedOut ( ) )

LoginFailed Source code

function LoginFailed ( ) )

Opened Source code

function Opened ( GUIComponent Sender) )

PasswordKeyEvent Source code

function bool PasswordKeyEvent ( out byte Key, out byte State, float Delta ) )

ReceiveComplete Source code

function ReceiveComplete ( ) )

SaveCredentials Source code

protected function SaveCredentials ( ) )

SendLogin Source code

function SendLogin ( string UserName, string Password ) )

SendLogout Source code

function SendLogout ( )

UpdateStatus Source code

protected function UpdateStatus ( string NewStatusMsg ) )

UpdateSubmitButton Source code

function UpdateSubmitButton ( ) )

UserNameKeyEvent Source code

function bool UserNameKeyEvent ( out byte Key, out byte State, float Delta ) )


Defaultproperties

defaultproperties
{
	PanelCaption="Login"
	OnLogIn=LoggedIn
	OnLogout=LoggedOut


	WaitingForLoginText="Please wait while your login credentials are verified..."
	NoUsernameSpecified="In order to login to match setup, you must supply a username."
	NoPasswordSpecified="In order to login to match setup, you must supply a password."
	InvalidLoginText="Login attempt failed - invalid username or password."
	LoggedText="Successfully logged into match setup!"
	PleaseWaitText="Complete data transfer will take a few seconds..."


	ButtonLoginText="Login"
	ButtonLogoutText="Logout"


	Begin Object class=GUILabel Name=TitleLabel
		WinWidth=0.521077
		WinHeight=0.152803
		WinLeft=0.244935
		WinTop=0.012808
		Caption="Match Setup Login"
		TextAlign=TXTA_Center
		RenderWeight=1
		StyleName="TextLabel"
		FontScale=FNS_Large
		bBoundToParent=True
		bScaleToParent=True
	End Object


	Begin Object class=GUILabel Name=StatusLabel
	    TextAlign=TXTA_Center
	    bMultiLine=True
	    VertAlign=TXTA_Center
	    FontScale=FNS_Large
	    StyleName="TextLabel"
	    WinTop=0.571450
	    WinLeft=0.167765
	    WinWidth=0.670595
	    WinHeight=0.413253
	    RenderWeight=1.000000
	    bBoundToParent=True
	    bScaleToParent=True
	End Object
	l_Status=StatusLabel


	Begin Object class=moEditBox Name=UserIDEditBox
		WinWidth=0.659385
		WinHeight=0.081981
		WinLeft=0.174240
		WinTop=0.209260
		Caption="UserID"
		TabOrder=1
		CaptionWidth=0.1
		OnKeyEvent=UserNameKeyEvent
		bBoundToParent=True
		bScaleToParent=True
	End Object
	ed_LoginName=UserIDEditBox


	Begin Object class=moEditBox Name=PasswordEditBox
		WinWidth=0.659385
		WinHeight=0.081981
		WinLeft=0.174240
		WinTop=0.326729
		Caption="Password"
		TabOrder=2
		CaptionWidth=0.1
		OnKeyEvent=PasswordKeyEvent
		bBoundToParent=True
		bScaleToParent=True
		bMaskText=True
	End Object
	ed_LoginPassword=PasswordEditBox


	Begin Object class=GUIButton Name=LoginButton
		Caption="Login"
		WinWidth=0.137685
		WinHeight=0.070180
		WinLeft=0.680482
		WinTop=0.477284
		OnClick=InternalOnClick
		TabOrder=3
		RenderWeight=1.0
		bBoundToParent=True
		bScaleToParent=True
	End Object
	b_Submit=LoginButton


	Begin Object class=GUIButton Name=CancelButton
		Caption="Cancel"
		WinWidth=0.139293
		WinHeight=0.076611
		WinLeft=0.513741
		WinTop=0.474198
		OnClick=InternalOnClick
		TabOrder=4
		RenderWeight=1.0
		bBoundToParent=True
		bScaleToParent=True
	End Object
	b_Cancel=CancelButton


	WinTop=0.248697
	WinHeight=0.352864
	WinWidth=1.0
	WinLeft=0.0


	bKeepHistory=True
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:14.037 - Created with UnCodeX