dsto.dfc.swing.text
Interface EnumeratedTerm

All Superinterfaces:
Term

public interface EnumeratedTerm
extends Term

Interface for terms that have one or more properties whose value can cycle through a small set of enumerated values. This can be used to avoid having to provide a customizer for simple properties.

Version:
$Revision$
Author:
Matthew Phillips

Method Summary
 boolean advanceValue(String property)
          Called to request that a property value be incremented.
 
Methods inherited from interface dsto.dfc.swing.text.Term
getCustomizerFormat, getTermDescription
 

Method Detail

advanceValue

boolean advanceValue(String property)
Called to request that a property value be incremented.

Parameters:
property - The property to be changed.
Returns:
True if the property is enumerated. If false, the usual attempt to show a customizer for the property will be made.


Copyright © 2008 Commonwealth of Australia