//////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2006 Adobe Macromedia Software LLC and its licensors. // All Rights Reserved. The following is Source Code and is subject to all // restrictions on such code as contained in the End User License Agreement // accompanying this product. // //////////////////////////////////////////////////////////////////////////////// package { import com.adobe.flex.extras.controls.springgraph.Item; /** Represents a "meaning", one of the 2 types of Item in the Thesaurus object model. A meaning * is defined by a main word, a part of speech (such as noun or verb) and a definition. * In a thesaurus graph, Meanings are linked to the various Words that express that meaning. Meanings * are never linked to other meanings. */ public class ax_springgraph_thesaurus_Meaning extends Item { public var word: String; public var partOfSpeech: String; public var definition: String; public function ax_springgraph_thesaurus_Meaning(w: String, p: String, d: String) { word = w; partOfSpeech = p; definition = d; } public function toString(): String { return word + " (" + partOfSpeech + "): " + definition; } } }