sigmlgen
Class GSiGMLSign

java.lang.Object
  extended by sigmlgen.GSiGMLSign

public class GSiGMLSign
extends java.lang.Object

Gestural-SiGML sign data: each instance of this class records the data for a single sign within a SiGML sequence: this includes SiGML text for the associated <hamgestural_sign> in a form that can be passed to animgen, the sign's gloss name, and any associated player settings.


Constructor Summary
GSiGMLSign(GSiGMLSign sign)
          Constructs a new sign, which is a clone of the given one.
GSiGMLSign(java.lang.String gsigml, java.lang.String glss, CameraSettings cam, AmbientMotionFlags amf)
          Constructs a new sign with the given components.
GSiGMLSign(java.lang.String gsigml, java.lang.String glss, PlayerSettings psttngs)
          Constructs a new sign with the given components.
 
Method Summary
 AmbientMotionFlags getAmbientMotionFlags()
          Returns the ambient motion flag settings for this sign.
 CameraSettings getCameraSettings()
          Returns the camera settings for this sign.
 java.lang.String getGloss()
          Returns the gloss name for this sign.
 java.lang.String getSiGMLForSign()
          Returns the <hamgestural_sign> text for this sign.
 boolean hasPlayerSettings()
          Returns a boolean indicating whether any player settings are defined for this sign.
 void setPlayerSettings(PlayerSettings ps)
          Sets this signs camera and ambient motions settings to match those in the given player settings, which may be null, in which case the existing settings are unchanged.
 void supplementPlayerSettings(PlayerSettings ps)
          Uses the given settings to supplement, but not to override this sign's existing settings, i.e.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GSiGMLSign

public GSiGMLSign(java.lang.String gsigml,
                  java.lang.String glss,
                  PlayerSettings psttngs)
Constructs a new sign with the given components.


GSiGMLSign

public GSiGMLSign(java.lang.String gsigml,
                  java.lang.String glss,
                  CameraSettings cam,
                  AmbientMotionFlags amf)
Constructs a new sign with the given components.


GSiGMLSign

public GSiGMLSign(GSiGMLSign sign)
Constructs a new sign, which is a clone of the given one.

Method Detail

setPlayerSettings

public void setPlayerSettings(PlayerSettings ps)
Sets this signs camera and ambient motions settings to match those in the given player settings, which may be null, in which case the existing settings are unchanged.


supplementPlayerSettings

public void supplementPlayerSettings(PlayerSettings ps)
Uses the given settings to supplement, but not to override this sign's existing settings, i.e. no existing setting is changed by the given settings.


getSiGMLForSign

public java.lang.String getSiGMLForSign()
Returns the <hamgestural_sign> text for this sign.


getGloss

public java.lang.String getGloss()
Returns the gloss name for this sign.


getCameraSettings

public CameraSettings getCameraSettings()
Returns the camera settings for this sign.


getAmbientMotionFlags

public AmbientMotionFlags getAmbientMotionFlags()
Returns the ambient motion flag settings for this sign.


hasPlayerSettings

public boolean hasPlayerSettings()
Returns a boolean indicating whether any player settings are defined for this sign.