com.arsdigita.bebop
Interface PropertySheetModel


public interface PropertySheetModel

An abstraction that the PropertySheet class uses to display a 2-column table of label-value pairs.

Version:
$Id: //core-platform/dev/src/com/arsdigita/bebop/PropertySheetModel.java#9 $
Author:
Stanislav Freidin
See Also:
PropertySheetModelBuilder

Field Summary
static String versionId
           
 
Method Summary
 GlobalizedMessage getGlobalizedLabel()
          Returns the GlobalizedMessage for the current property
 String getLabel()
          Deprecated. use getGlobalizedLabel() instead
 String getValue()
          Returns the string representation of the current property.
 boolean nextRow()
          Advances to the next property, if possible.
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Method Detail

nextRow

public boolean nextRow()
Advances to the next property, if possible.

Returns:
false if there are no more properties; true otherwise.

getLabel

public String getLabel()
Deprecated. use getGlobalizedLabel() instead

Returns the label for the current property.

Returns:
the current label.

getGlobalizedLabel

public GlobalizedMessage getGlobalizedLabel()
Returns the GlobalizedMessage for the current property

Returns:
the current GlobalizedMessage

getValue

public String getValue()
Returns the string representation of the current property.

Returns:
the current value formatted as a string.


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC