Search this API

y.option
Class PasswordOptionItem

java.lang.Object
  extended by y.option.OptionItem
      extended by y.option.ObjectOptionItem
          extended by y.option.StringBasedOptionItem
              extended by y.option.PasswordOptionItem
All Implemented Interfaces:
AttributeOwner, BackupValueOwner, PropertyChangeReporter, VetoableChangeReporter

public class PasswordOptionItem
extends StringBasedOptionItem

An option item for password Strings.

Provides an editor based on JPasswordField

 
Your browser does not support SVG content.

Field Summary
 
Fields inherited from class y.option.StringBasedOptionItem
ATTRIBUTE_CONVERTER, PROPERTY_CONVERTER
 
Fields inherited from class y.option.OptionItem
ATTRIBUTE_CONTEXT, ATTRIBUTE_GROUPS, ATTRIBUTE_LONG_DESCRIPTION, COLOR_UNDEFINED, name, PROPERTY_CLASS_TYPE, PROPERTY_ENABLED, PROPERTY_TIP_TEXT, PROPERTY_VALUE, PROPERTY_VALUE_UNDEFINED, UNDEFINED
 
Constructor Summary
PasswordOptionItem(java.lang.String name, java.lang.String value)
          Creates a new instance of PasswordOptionItem.
 
Method Summary
 java.lang.String getType()
          Returns "Password".
 
Methods inherited from class y.option.StringBasedOptionItem
getConverter, getStringValue, setConverter, setStringValue, setValue
 
Methods inherited from class y.option.ObjectOptionItem
getBackupValue, getValue, resetValue
 
Methods inherited from class y.option.OptionItem
addEditor, addEditorListener, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, adoptEditorValue, checkEditorValue, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getAttribute, getClassType, getEditor, getEditor, getEditors, getName, getTipText, isEnabled, isValueUndefined, publishEnabled, publishValue, publishValueUndefined, removeAttribute, removeEditor, removeEditorListener, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, setAttribute, setClassType, setEnabled, setTipText, setValueUndefined, wantsVisibleName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordOptionItem

public PasswordOptionItem(java.lang.String name,
                          java.lang.String value)
Creates a new instance of PasswordOptionItem.

Parameters:
name - the name of the item
value - the initial value of the item
Method Detail

getType

public java.lang.String getType()
Returns "Password".

Overrides:
getType in class StringBasedOptionItem

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.