|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.bus.bean.Bean
net.sf.doolin.gui.field.AbstractFieldDescriptor<V>
net.sf.doolin.gui.field.AbstractPropertyFieldDescriptor<V>
net.sf.doolin.gui.field.FieldPassword<V>
V - Type of bean for the viewpublic class FieldPassword<V>
This field is used to enter a password.
The target property that hosts the password value in the model can be either
a character array (char[]) or the result of a digest (as
returned by the PasswordUtils.digestPassword(char[]) method. This
field mode is chosen according to the value of the
digest property.
| Constructor Summary | |
|---|---|
FieldPassword()
|
|
| Method Summary | |
|---|---|
protected com.google.common.base.Function<char[],? extends Object> |
createConverter()
|
Field<V> |
createField(GUIView<V> view)
Creates a field. |
int |
getColumns()
Gets the number of columns for the password field |
FieldPasswordStore |
getStore()
|
boolean |
isDigest()
Deprecated. Use getStore() instead |
void |
setColumns(int columns)
Sets the number of columns for the password field |
void |
setDigest(boolean digest)
Deprecated. Use setStore(FieldPasswordStore) instead |
void |
setStore(FieldPasswordStore store)
|
| Methods inherited from class net.sf.doolin.gui.field.AbstractPropertyFieldDescriptor |
|---|
getAdapter, getProperty, getPropertyPath, setAdapter, setProperty, setPropertyPath, subscribe, subscribe |
| Methods inherited from class net.sf.doolin.gui.field.AbstractFieldDescriptor |
|---|
getActionFactory, getConstraint, getDisplayStateHandler, getIconService, getName, getStyle, getTransferHandler, onInit, onShow, setActionFactory, setConstraint, setDisplayState, setDisplayStateHandler, setIconService, setName, setStyle, setTransferHandler |
| Methods inherited from class net.sf.doolin.bus.bean.Bean |
|---|
getBeanNotificationSupport, getParentBean, notify, setParentBean |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FieldPassword()
| Method Detail |
|---|
protected com.google.common.base.Function<char[],? extends Object> createConverter()
public Field<V> createField(GUIView<V> view)
FieldDescriptor
view - Owning view
public int getColumns()
public FieldPasswordStore getStore()
@Deprecated public boolean isDigest()
getStore() instead
digest (true)
or a character array (false).
public void setColumns(int columns)
columns - Number of columnsJTextField.setColumns(int)@Deprecated public void setDigest(boolean digest)
setStore(FieldPasswordStore) instead
digest (true)
or a character array (false).
digest - Digest modepublic void setStore(FieldPasswordStore store)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||