|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public java.lang.String getText()
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.
public JGoText getLabel()
This property is typically used by the Text property.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |