org.homeunix.thecave.moss.swing
Interface StandardHintTextComponent

All Known Implementing Classes:
MossHintComboBox, MossHintTextArea, MossHintTextField, MossSearchField

public interface StandardHintTextComponent

An interface for all Hint text components.

Author:
wyatt

Method Summary
 java.lang.String getHint()
          Returns the hint text associated with the item.
 java.lang.String getText()
          Gets the text value.
 boolean isHintShowing()
          Is the hint showing, or has text been entered?
 void setHint(java.lang.String hint)
          Sets the hint text associated with the item.
 void setText(java.lang.String text)
          Sets the text value.
 

Method Detail

isHintShowing

boolean isHintShowing()
Is the hint showing, or has text been entered?

Returns:

getHint

java.lang.String getHint()
Returns the hint text associated with the item. The hint is the text which displays when there is nothing yet entered into the text component.

Returns:

setHint

void setHint(java.lang.String hint)
Sets the hint text associated with the item. The hint is the text which is to display when there is nothing yet entered into the text component.

Parameters:
hint -

getText

java.lang.String getText()
Gets the text value.

Returns:

setText

void setText(java.lang.String text)
Sets the text value.

Parameters:
text -