topical media & game development
#ax-springgraph-thesaurus-Meaning.ax
#ax-springgraph-thesaurus-Meaning.ax
[swf]
flex
//////////////////////////////////////////////////////////////////////////
//
// 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-ax-springgraph-thesaurus-Meaning extends Item
{
public var word: String;
public var partOfSpeech: String;
public var definition: String;
public function @ax-ax-springgraph-thesaurus-Meaning(w: String, p: String, d: String) {
word = w;
partOfSpeech = p;
definition = d;
}
public function toString(): String {
return word + " (" + partOfSpeech + "): " + definition;
}
}
}
(C) Æliens
27/08/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.