XMT-O Reference Software

xmto2xmta.mapmedia
Class MedImg

java.lang.Object
  |
  +--xmto2xmta.MapRoot
        |
        +--xmto2xmta.mapmedia.MedMediaElement
              |
              +--xmto2xmta.mapmedia.MedExternalElement
                    |
                    +--xmto2xmta.mapmedia.MedExternalVisualElement
                          |
                          +--xmto2xmta.mapmedia.MedImg
All Implemented Interfaces:
MapInterface

public class MedImg
extends MedExternalVisualElement

Class to handle the conversion of the rectangle element.

History:


Field Summary
private static boolean debug_
          Whether debug information is to be printed to the console.
private  img treeImg_
           
private  java.util.ResourceBundle xmto2XmtaRes_
           
 
Fields inherited from class xmto2xmta.mapmedia.MedExternalElement
externalElementRes_, FILE_URL_PREFIX, ODID_URL_PREFIX, treeExternalElement_
 
Fields inherited from class xmto2xmta.mapmedia.MedMediaElement
treeMediaElement_
 
Fields inherited from class xmto2xmta.MapRoot
treeElement_, xmto2xmta_
 
Constructor Summary
MedImg()
           
 
Method Summary
protected  boolean fillInTexture(org.w3c.dom.Element texture, ELASid elasId)
          Create the img infrastructure.
 void init(Xmto2Xmta xmto2xmta, ConvertElement element)
           
static void setDebug(boolean debug)
          Enable debugging information to be printed to the console.
 java.lang.String toString()
           
 
Methods inherited from class xmto2xmta.mapmedia.MedExternalVisualElement
fillInTransform2dChildren
 
Methods inherited from class xmto2xmta.mapmedia.MedExternalElement
createDeleteMapping, createDeleteMapping, createEventDeleteMapping, createEventInsertMapping, createInsertMapping, createInsertMapping, generateDeleteMapping, generateInsertMapping
 
Methods inherited from class xmto2xmta.mapmedia.MedMediaElement
createXmtaMapping, deleteNodeAtEndOfDuration, doEventTimingMapping, doMapping, doTimingMapping, generateDeleteMapping, generateInsertMapping
 
Methods inherited from class xmto2xmta.MapRoot
fireErrorEvent, fireErrorEvent, fireErrorEvent, getConvertElement
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

debug_

private static boolean debug_
Whether debug information is to be printed to the console. default is not have debug information printed (false).

treeImg_

private img treeImg_

xmto2XmtaRes_

private java.util.ResourceBundle xmto2XmtaRes_
Constructor Detail

MedImg

public MedImg()
Method Detail

fillInTexture

protected boolean fillInTexture(org.w3c.dom.Element texture,
                                ELASid elasId)
Create the img infrastructure.
 <ImageTexture DEF="???" url="???"/>
 
Overrides:
fillInTexture in class MedExternalVisualElement

init

public void init(Xmto2Xmta xmto2xmta,
                 ConvertElement element)
          throws java.lang.Exception
Overrides:
init in class MedExternalElement

setDebug

public static void setDebug(boolean debug)
Enable debugging information to be printed to the console.
Parameters:
debug - sets debug information is printed

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

XMT-O Reference Software