Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.nwoods.jgo
Interface JGoLabeledPart

All Known Implementing Classes:
  JGoNode

public interface JGoLabeledPart

Provide access to a textual label for an object.

JGoNode implements this interface. Typically you will want to implement or override this method to provide efficient access to a particular JGoText object in your area. The text string is used by JGoDocument.findNode to search for nodes meeting certain criteria.

Method Summary
`JGoText` | `getLabel()` Return the JGoText representing this object's label.
`java.lang.String` | `getText()` Return the text string associated with this object.

Method Detail

### getText

    public java.lang.String getText()

  Return the text string associated with this object.

  This property is normally implemented to return the Label's Text string. This would return null if there is no Label. You may wish to implement this differently if there is no Label but there is a string naturally associated with the object, or if the desired string might be different than the label's text string.

### getLabel

    public JGoText getLabel()

  Return the JGoText representing this object's label.

  This property is typically used by the Text property.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD