Package org.luwrain.core
Class AreaQuery
- java.lang.Object
-
- org.luwrain.core.Event
-
- org.luwrain.core.AreaQuery
-
- Direct Known Subclasses:
BackgroundSoundQuery
,BeginListeningQuery
,CurrentDirQuery
,RegionTextQuery
,UniRefAreaQuery
,UniRefHotPointQuery
,UrlAreaQuery
,UrlHotPointQuery
public abstract class AreaQuery extends Event
-
-
Field Summary
Fields Modifier and Type Field Description static int
BACKGROUND_SOUND
static int
BEGIN_LISTENING
static int
CURRENT_DIR
static int
REGION_TEXT
static int
UNIREF_AREA
static int
UNIREF_HOT_POINT
static int
URL_AREA
static int
URL_HOT_POINT
-
Constructor Summary
Constructors Constructor Description AreaQuery(int code)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
answerTaken()
static boolean
ask(Area area, AreaQuery query)
abstract Object
getAnswer()
int
getQueryCode()
boolean
hasAnswer()
protected void
secondAnswerCheck()
-
Methods inherited from class org.luwrain.core.Event
markAsProcessed, waitForBeProcessed
-
-
-
-
Field Detail
-
UNIREF_AREA
public static final int UNIREF_AREA
- See Also:
- Constant Field Values
-
UNIREF_HOT_POINT
public static final int UNIREF_HOT_POINT
- See Also:
- Constant Field Values
-
URL_AREA
public static final int URL_AREA
- See Also:
- Constant Field Values
-
URL_HOT_POINT
public static final int URL_HOT_POINT
- See Also:
- Constant Field Values
-
CURRENT_DIR
public static final int CURRENT_DIR
- See Also:
- Constant Field Values
-
BEGIN_LISTENING
public static final int BEGIN_LISTENING
- See Also:
- Constant Field Values
-
BACKGROUND_SOUND
public static final int BACKGROUND_SOUND
- See Also:
- Constant Field Values
-
REGION_TEXT
public static final int REGION_TEXT
- See Also:
- Constant Field Values
-
-