Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Sapphire » How do I display a text box as password?
How do I display a text box as password? [message #1754776] Wed, 22 February 2017 10:02 Go to next message
Jens Rabe is currently offline Jens RabeFriend
Messages: 81
Registered: September 2013
Member
Is it possible to display a text box from a property editor as a password, i.e., having the stuff the user enters replaced by dots or stars?
Re: How do I display a text box as password? [message #1754813 is a reply to message #1754776] Wed, 22 February 2017 16:16 Go to previous message
Shenxue Zhou is currently offline Shenxue ZhouFriend
Messages: 60
Registered: July 2009
Member
Sapphire does have an annotation for that. See the following example:

// *** Password ***
@Label( standard = "&password" )
@Required
@SensitiveData
ValueProperty PROP_PASSWORD = new ValueProperty( TYPE, "Password" );

Value<String> getPassword();
void setPassword( String value );


Shenxue
Previous Topic:checkbox.layout hint is ignored [SOLVED]
Next Topic:XML serialization not always maintaining order of fields in sapphire pojos
Goto Forum:
  


Current Time: Thu Oct 03 12:01:36 GMT 2024

Powered by FUDForum. Page generated in 0.04014 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top