|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Panel java.applet.Applet org.kaboum.Kaboum
public class Kaboum
Kaboum (Kaboum is Another Builder Of Usefull Maps) was originally developped in order to navigate through maps generated by MapServer (http://mapserver.gis.umn.edu). The aim of the project is to give a powerfull tool that allow interactive browsing on maps (like navigation, layers query, online digitalization etc...)
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.applet.Applet |
---|
java.applet.Applet.AccessibleApplet |
Nested classes/interfaces inherited from class java.awt.Panel |
---|
java.awt.Panel.AccessibleAWTPanel |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
KaboumGeometryGlobalDescriptor |
activeGGD
Current geo Object |
boolean |
busy
True during map loading |
java.awt.Image |
busyImg
Busy Image (i.e. |
java.lang.String |
currentCommand
Current command (state of the applet) |
KaboumGeometryDisplayDescriptor |
currentDD
Current display descriptor |
KaboumOpMode |
currentOpMode
Current active opMode |
KaboumGeometryPropertiesDescriptor |
currentPD
Current object properties |
java.lang.String |
cursorValue
Cursor type |
KaboumGeometryDisplayDescriptor |
defaultDD
Default display descriptor |
KaboumLang |
defaultLang
Lang |
KaboumGeometryPropertiesDescriptor |
defaultPD
Default object properties |
static java.lang.String |
FALSE
FALSE |
java.util.Hashtable |
geometryDDHash
Display descriptor list |
java.util.Hashtable |
geometryPDHash
Geo objects classes list |
KaboumGGDIndex |
GGDIndex
Indexed list of geometricals object |
boolean |
isJavascriptEnabled
Liveconnect activated |
static int |
K_NEW_GEOMETRY
K_NEW_GEOMETRY declaration (was final but can be change now) |
static java.lang.String |
K_NEWLINE
New line |
java.awt.Image |
map
Map image |
KaboumMapServerTools |
mapServerTools
KaboumMapServerTools reference |
java.awt.Graphics |
offScreenGraphics
Double buffering (Graphic) |
java.awt.Image |
offScreenImage
Double buffering (Image) |
int |
panCenterX
X center of pan |
int |
panCenterY
Y center of pan |
static java.lang.String |
pkName
Current package |
boolean |
ref_is_applet
Image or Applet reference view |
java.awt.Dimension |
screenSize
Window applet size |
boolean |
sendPositionCoordinatesToJS
Use status bar for message or no |
boolean |
systemStandby
Set the system in standby mode |
static java.lang.String |
TRUE
TRUE |
JSObject |
window
Browser window reference |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
Kaboum()
|
Method Summary | |
---|---|
void |
destroyCurrentOpMode()
Destroy target opMode |
java.lang.String |
getCurrentCommand()
Return the active opMode name |
java.awt.Font |
getFont()
|
java.lang.String |
getOpModeProperty(java.lang.String key)
Return the opMode property corresponding to the input key |
java.lang.String |
getParameter(java.lang.String s,
java.lang.String d)
Overload getParameter(String) method |
void |
init()
Applet initialisation. |
boolean |
kaboumCommand(java.lang.String str)
This method is the control center of the applet. |
boolean |
kaboumResult(java.lang.String str)
This method sends result to the HTML page via LiveConnect (cf:javascript). |
void |
paint(java.awt.Graphics g)
|
static java.awt.Image |
readImage(Kaboum kaboum,
java.net.URL imgURL)
Load and return an image. |
void |
refreshTooltip()
Refresh the tooltip display if request |
void |
respawnOpMode()
Respawn a opMode after its death ;) |
void |
setCursor(java.lang.String s)
Set the mouse pointer shape. |
void |
setPanCoordinates(int x,
int y)
Set pan coordinates |
void |
showMessage(java.lang.String message)
Write message into navigator status bar. |
void |
showMessage(java.lang.String message,
boolean displaySurfaceAndPerimeter)
Write message into navigator status bar. |
void |
standbyOff()
Set system standby off |
void |
standbyOn()
Set system standby on |
void |
swapImage(java.net.URL imgURL)
Change the map image. |
void |
update(java.awt.Graphics g)
|
Methods inherited from class java.applet.Applet |
---|
destroy, getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop |
Methods inherited from class java.awt.Panel |
---|
addNotify |
Methods inherited from class java.awt.Container |
---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String pkName
public static java.lang.String K_NEWLINE
public static java.lang.String TRUE
public static java.lang.String FALSE
public static int K_NEW_GEOMETRY
public java.awt.Dimension screenSize
public java.awt.Image offScreenImage
public java.awt.Graphics offScreenGraphics
public boolean systemStandby
public boolean isJavascriptEnabled
public boolean sendPositionCoordinatesToJS
public boolean busy
public java.awt.Image map
public java.awt.Image busyImg
public java.lang.String cursorValue
public JSObject window
public boolean ref_is_applet
public KaboumLang defaultLang
public KaboumMapServerTools mapServerTools
public KaboumGGDIndex GGDIndex
public java.util.Hashtable geometryPDHash
public java.util.Hashtable geometryDDHash
public KaboumGeometryGlobalDescriptor activeGGD
public KaboumGeometryDisplayDescriptor defaultDD
public KaboumGeometryDisplayDescriptor currentDD
public KaboumGeometryPropertiesDescriptor defaultPD
public KaboumGeometryPropertiesDescriptor currentPD
public KaboumOpMode currentOpMode
public java.lang.String currentCommand
public int panCenterX
public int panCenterY
Constructor Detail |
---|
public Kaboum()
Method Detail |
---|
public void init()
init
in class java.applet.Applet
public java.lang.String getOpModeProperty(java.lang.String key)
key
- String keypublic boolean kaboumResult(java.lang.String str)
str
- Submitted command stringpublic boolean kaboumCommand(java.lang.String str)
str
- Submited command stringpublic void standbyOn()
public void standbyOff()
public java.lang.String getCurrentCommand()
public void setPanCoordinates(int x, int y)
x
- X coordinatey
- Y coordinatepublic void respawnOpMode()
public void destroyCurrentOpMode()
opMode
- OpModepublic static java.awt.Image readImage(Kaboum kaboum, java.net.URL imgURL)
imgURL
- Image URLpublic void swapImage(java.net.URL imgURL)
imageURL
- Image URLpublic void update(java.awt.Graphics g)
update
in class java.awt.Container
public java.awt.Font getFont()
getFont
in interface java.awt.MenuContainer
getFont
in class java.awt.Component
public void paint(java.awt.Graphics g)
paint
in class java.awt.Container
public void setCursor(java.lang.String s)
s
- Valuepublic void showMessage(java.lang.String message)
message
- Messagepublic void showMessage(java.lang.String message, boolean displaySurfaceAndPerimeter)
message
- Messagepublic java.lang.String getParameter(java.lang.String s, java.lang.String d)
public void refreshTooltip()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |