es.aeat.eett.plugins.map
Class MapComponent
java.lang.Object
es.aeat.eett.plugins.map.MapComponent
- All Implemented Interfaces:
- java.util.EventListener, com.tonbeller.jpivot.core.ModelChangeListener
- public class MapComponent
- extends java.lang.Object
- implements com.tonbeller.jpivot.core.ModelChangeListener
- Author:
- f00992
Constructor Summary |
MapComponent(java.lang.String dirMaps,
java.lang.String dirScript)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileSeparator
public static final java.lang.String fileSeparator
NAME_DIR_MAPS
public static final java.lang.String NAME_DIR_MAPS
- See Also:
- Constant Field Values
RUTA_MAPAS
public static final java.lang.String RUTA_MAPAS
NAME_DIR_MAP
public static final java.lang.String NAME_DIR_MAP
NAME_MAP
public static final java.lang.String NAME_MAP
- See Also:
- Constant Field Values
MAME_HTML_MAP
public static final java.lang.String MAME_HTML_MAP
- See Also:
- Constant Field Values
S_NEWLIN
private static final java.lang.String S_NEWLIN
S_MAYOR
private static final java.lang.String S_MAYOR
- See Also:
- Constant Field Values
S_MENOR
private static final java.lang.String S_MENOR
- See Also:
- Constant Field Values
S_SEPARADOR
private static final java.lang.String S_SEPARADOR
- See Also:
- Constant Field Values
SPACE
private static final java.lang.String SPACE
- See Also:
- Constant Field Values
hash_maps
private java.util.Hashtable[] hash_maps
namesMap
private java.lang.String[] namesMap
namesLeves
private java.lang.String[] namesLeves
dirMaps
private java.lang.String dirMaps
dirScript
private java.lang.String dirScript
dataMap
private DataMap dataMap
controladores
private java.util.ArrayList controladores
locale
private java.util.Locale locale
oldCatalogo
private java.lang.String oldCatalogo
oldcanShowMap
private boolean oldcanShowMap
hayFileMap
private boolean hayFileMap
MapComponent
public MapComponent(java.lang.String dirMaps,
java.lang.String dirScript)
addControlador
public void addControlador(MapComponentListener cont)
removeControlador
public void removeControlador(MapComponentListener cont)
fireCambioMostrable
public void fireCambioMostrable()
iniVars
private void iniVars()
throws java.lang.Exception
- Throws:
java.lang.Exception
getParameters
private java.lang.String getParameters(java.lang.String ruta,
java.util.List listaLevels,
java.util.List listaMaps)
throws java.lang.Exception
- Throws:
java.lang.Exception
writeMap
private void writeMap(java.io.PrintWriter out)
throws java.lang.Exception
- Throws:
java.lang.Exception
writeHijos
private void writeHijos(org.jdom.Element e,
java.io.PrintWriter out)
- Parameters:
e
- out
-
serializaAtributos
private java.lang.String serializaAtributos(org.jdom.Element e)
include
private void include(java.io.PrintWriter out,
java.lang.String nameFile)
throws java.lang.Exception
- Throws:
java.lang.Exception
include
private void include(java.io.PrintWriter out,
java.lang.String nameFile,
java.lang.String strOrigen,
java.lang.String strNew)
throws java.lang.Exception
- Throws:
java.lang.Exception
render
public void render(java.io.PrintWriter out)
throws java.lang.Exception
- Throws:
java.lang.Exception
escapeString
public java.lang.String escapeString(java.lang.String str)
escapeSVGString
public java.lang.String escapeSVGString(java.lang.String str)
createHash_maps
private void createHash_maps(java.lang.String[] namesMap)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadHash_map
private void loadHash_map(java.lang.String nameMap,
java.util.Hashtable hash_map)
throws java.lang.Exception
- Throws:
java.lang.Exception
canShowMap
public boolean canShowMap()
modelChanged
public void modelChanged(com.tonbeller.jpivot.core.ModelChangeEvent arg0)
- Specified by:
modelChanged
in interface com.tonbeller.jpivot.core.ModelChangeListener
structureChanged
public void structureChanged(com.tonbeller.jpivot.core.ModelChangeEvent arg0)
- Specified by:
structureChanged
in interface com.tonbeller.jpivot.core.ModelChangeListener
JRubik v0.6