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:
- 13 Dec 2000 - Created file.
- 26 Apr 2001 - Update object descriptors to Jan XMT-A spec.
- 30 Apr 2001 - Add switch to generate new format for XMT-A files.
Field Summary |
private static boolean |
debug_
Whether debug information is to be printed to the console. |
private img |
treeImg_
|
private java.util.ResourceBundle |
xmto2XmtaRes_
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
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_
MedImg
public MedImg()
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