com.keenedgesoftware.scrutinize.core
Class Selector

java.lang.Object
  |
  +--com.keenedgesoftware.scrutinize.core.CoreEntity
        |
        +--com.keenedgesoftware.scrutinize.core.Selector

public final class Selector
extends CoreEntity

The selector class handles selection and dyn-selection messages, and it manages the selection state (ie which entities are currently selected).


Fields inherited from class com.keenedgesoftware.scrutinize.core.CoreEntity
ACTIVATE, BACKSLASH, EOL, GO, HASH, INIT, NEWLINE, QUIT, QUOTE, SLASH, SPACE
 
Constructor Summary
Selector()
          Default constructor
Selector(Command owner)
          Usual constructor
 
Method Summary
 boolean activate()
          Activate
 Command getCommand()
           
 com.keenedgesoftware.scrutinize.core.graphics.GPath getLastSelectionPath()
           
 com.keenedgesoftware.scrutinize.core.math.Vec3d getLastSelectionPos()
           
 boolean init()
          Init
 boolean isHiliteSuppressed()
           
 boolean isPersistentSelectionEnabled()
           
 boolean messageHandler(java.lang.String message)
          Message handler.
 boolean quit()
          Quit
 void setHiliteSuppressed(boolean flag)
           
 void setPersistentSelectionEnabled(boolean flag)
           
 
Methods inherited from class com.keenedgesoftware.scrutinize.core.CoreEntity
getActiveView, getBroadcastManager, getCommandManager, getGraphicsGate, getGraphicsWorld, getMiscWorld, getModelWorld, getNetcaster, getRecorder, getScene, getSystemWorld, getTaskManager, getUniverse
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Selector

public Selector()
Default constructor

Selector

public Selector(Command owner)
Usual constructor
Method Detail

isPersistentSelectionEnabled

public boolean isPersistentSelectionEnabled()

setPersistentSelectionEnabled

public void setPersistentSelectionEnabled(boolean flag)

getCommand

public Command getCommand()

getLastSelectionPath

public com.keenedgesoftware.scrutinize.core.graphics.GPath getLastSelectionPath()

getLastSelectionPos

public com.keenedgesoftware.scrutinize.core.math.Vec3d getLastSelectionPos()

isHiliteSuppressed

public boolean isHiliteSuppressed()

setHiliteSuppressed

public void setHiliteSuppressed(boolean flag)

init

public boolean init()
Init

activate

public boolean activate()
Activate

quit

public boolean quit()
Quit

messageHandler

public boolean messageHandler(java.lang.String message)
Message handler. Returns true if message was handled. Otherwise false.