GUI for entering the encoded license information from the license
issuer.
-
HostAndDurationLicensePolicyCustomizer()
-
-
addPropertyChangeListener(PropertyChangeListener)
- Adds a listener to get notified when the customizer changes the
bean in a significant manner.
-
createCustomerGUI()
- Creates the GUI that customers use to update their
license policy with appropriate information from the license
issuer.
-
createIssuerGUI()
- Creates a customizable GUI for the issuance of licenses.
-
getPreferredSize()
- Gets the preferred width and height of the customizer.
-
removePropertyChangeListener(PropertyChangeListener)
- Removes a listener from the notification list.
-
setObject(Object)
- Sets the object instance with which this customizer is to interact.
HostAndDurationLicensePolicyCustomizer
public HostAndDurationLicensePolicyCustomizer()
setObject
public void setObject(Object bean)
- Sets the object instance with which this customizer is to interact.
Once the object is set, the proper GUI is determined and created.
- Parameters:
- bean - The bean instance to customize.
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Adds a listener to get notified when the customizer changes the
bean in a significant manner. Significant changes include changes
to the property values of the license policy.
- Parameters:
- listener - The object to be notified of changes.
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Removes a listener from the notification list.
- Parameters:
- listener - The object to be removed from the notification list.
getPreferredSize
public Dimension getPreferredSize()
- Gets the preferred width and height of the customizer.
- Returns:
- The preferred dimensions of the customizer.
- Overrides:
- getPreferredSize in class Container
createIssuerGUI
protected void createIssuerGUI()
- Creates a customizable GUI for the issuance of licenses. This
GUI includes capabilities to load existing issuer license policy
objects that were serialized during initialization. It must
allow the entering of the same data that the license will
validate, allow for the generation of a new license (calling
sign() on the policy object), and the distribution of the encoded
signature to the customer using some means.
createCustomerGUI
protected void createCustomerGUI()
- Creates the GUI that customers use to update their
license policy with appropriate information from the license
issuer. This information includes the presentation of programmatically
determined data, such as current host name, and input of non-programmatic data.
Non-programmatic data include dates and encoded license signatures.
All Packages Class Hierarchy This Package Previous Next Index