Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
EditBoxFilterComponent Interface Reference
Inheritance diagram for EditBoxFilterComponent:
[legend]

Public Member Functions

override void HandlerAttached (Widget w)
 
override void HandlerDeattached (Widget w)
 
override bool OnChange (Widget w, int x, int y, bool finished)
 
int GetNumLimitOfCharacters ()
 
void SetCharacterLimit (int limit)
 
void SetPunctuation (bool enabled)
 
void SetNumbers (bool enabled)
 
void SetASCIIchars (bool enabled)
 
void SetUTFMultibyte (bool enabled)
 
void SetCharBlacklist (string list)
 
void SetCharacterLimit (string list)
 
bool IsLastInputValid ()
 

Public Attributes

ref ScriptInvoker m_OnInvalidInput = new ScriptInvoker()
 
ref ScriptInvoker m_OnTextTooLong = new ScriptInvoker()
 
ref ScriptInvoker m_OnValidInput = new ScriptInvoker()
 

Protected Member Functions

string FilterSymbolsFromText (string text)
 Get positino of last change Only do simple comparision since it's checking for not allowed inputs

 

Protected Attributes

bool m_bLastInputValid = true
 

Member Function Documentation

◆ FilterSymbolsFromText()

string EditBoxFilterComponent.FilterSymbolsFromText ( string  text)
protected

Get positino of last change Only do simple comparision since it's checking for not allowed inputs

◆ GetNumLimitOfCharacters()

int EditBoxFilterComponent.GetNumLimitOfCharacters ( )

◆ HandlerAttached()

override void EditBoxFilterComponent.HandlerAttached ( Widget  w)

◆ HandlerDeattached()

override void EditBoxFilterComponent.HandlerDeattached ( Widget  w)

◆ IsLastInputValid()

bool EditBoxFilterComponent.IsLastInputValid ( )

◆ OnChange()

override bool EditBoxFilterComponent.OnChange ( Widget  w,
int  x,
int  y,
bool  finished 
)

◆ SetASCIIchars()

void EditBoxFilterComponent.SetASCIIchars ( bool  enabled)

◆ SetCharacterLimit() [1/2]

void EditBoxFilterComponent.SetCharacterLimit ( int  limit)

◆ SetCharacterLimit() [2/2]

void EditBoxFilterComponent.SetCharacterLimit ( string  list)

◆ SetCharBlacklist()

void EditBoxFilterComponent.SetCharBlacklist ( string  list)

◆ SetNumbers()

void EditBoxFilterComponent.SetNumbers ( bool  enabled)

◆ SetPunctuation()

void EditBoxFilterComponent.SetPunctuation ( bool  enabled)

◆ SetUTFMultibyte()

void EditBoxFilterComponent.SetUTFMultibyte ( bool  enabled)

Member Data Documentation

◆ m_bLastInputValid

bool EditBoxFilterComponent.m_bLastInputValid = true
protected

◆ m_OnInvalidInput

ref ScriptInvoker EditBoxFilterComponent.m_OnInvalidInput = new ScriptInvoker()

◆ m_OnTextTooLong

ref ScriptInvoker EditBoxFilterComponent.m_OnTextTooLong = new ScriptInvoker()

◆ m_OnValidInput

ref ScriptInvoker EditBoxFilterComponent.m_OnValidInput = new ScriptInvoker()

The documentation for this interface was generated from the following file: