public abstract class ILogApplet
extends javax.swing.JApplet
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CHAR_ENCODING |
static java.lang.String |
LRE |
static java.lang.String |
LRM |
static java.lang.String |
PDF |
static java.lang.String |
RLE |
static java.lang.String |
RLM |
Constructor and Description |
---|
ILogApplet() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
arrayToString(java.lang.String[] a,
java.lang.String separator) |
abstract void |
createGUI() |
static javax.swing.ImageIcon |
createImageIcon(java.lang.String name) |
java.lang.Object |
evalJSResult(java.lang.String cmdString)
Simple js eval() to call javascript and return a result
|
java.net.URL |
getControlServletURL(java.util.Hashtable<java.lang.String,java.lang.String[]> args) |
java.net.URL |
getControlServletURL(java.lang.String[] argNames,
java.lang.String[] argValues) |
java.lang.String |
getName() |
java.lang.String |
getSkinName() |
void |
init() |
boolean |
isChromeGreaterThan30() |
boolean |
isFirefoxGreaterThan10() |
boolean |
isHttpUsingJavascript() |
void |
loadData(java.lang.String initialLoadRequired)
primary applet data loading entry
|
boolean |
loadDataOnInit() |
abstract void |
loadModel(boolean isInitialLoadRequired) |
void |
log(java.lang.String string) |
InputStreamResolver |
newInputStreamResolver() |
int |
nextJavascriptCommunicationId() |
void |
onJavascriptResponse(int id,
java.lang.String data,
boolean encoded)
Called by the javascript code when the dojo xhr has a response.
|
static java.lang.String |
removeMarkers(java.lang.String str) |
void |
sendEvent(java.lang.String event) |
void |
sendEvent(java.lang.String event,
java.util.Hashtable values) |
void |
sendEvent(java.lang.String event,
java.lang.String target) |
void |
sendEvent(java.lang.String event,
java.lang.String target,
java.util.Hashtable values) |
void |
setJavascriptHandler(int id,
JavascriptHandler handler)
Register Javascript Response handler for a given request id
|
void |
showWarnings() |
getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setTransferHandler, update
destroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, isValidateRoot, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop
add, add, add, add, add, addContainerListener, 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, paint, paintComponents, preferredSize, print, printComponents, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, revalidate, 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, transferFocusBackward, transferFocusUpCycle
public static final java.lang.String LRE
public static final java.lang.String RLE
public static final java.lang.String PDF
public static final java.lang.String LRM
public static final java.lang.String RLM
public static final java.lang.String CHAR_ENCODING
public abstract void createGUI()
public abstract void loadModel(boolean isInitialLoadRequired)
public final void init()
init
in class java.applet.Applet
public final void loadData(java.lang.String initialLoadRequired)
public void showWarnings()
public static javax.swing.ImageIcon createImageIcon(java.lang.String name)
public java.net.URL getControlServletURL(java.lang.String[] argNames, java.lang.String[] argValues) throws java.net.MalformedURLException
java.net.MalformedURLException
public java.net.URL getControlServletURL(java.util.Hashtable<java.lang.String,java.lang.String[]> args) throws java.net.MalformedURLException, java.io.UnsupportedEncodingException
java.net.MalformedURLException
java.io.UnsupportedEncodingException
public static java.lang.String arrayToString(java.lang.String[] a, java.lang.String separator) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public boolean loadDataOnInit()
public void sendEvent(java.lang.String event)
public void sendEvent(java.lang.String event, java.util.Hashtable values)
public void sendEvent(java.lang.String event, java.lang.String target)
public void sendEvent(java.lang.String event, java.lang.String target, java.util.Hashtable values)
public java.lang.String getSkinName()
public static java.lang.String removeMarkers(java.lang.String str)
public java.lang.String getName()
getName
in class java.awt.Component
public InputStreamResolver newInputStreamResolver()
public boolean isHttpUsingJavascript()
public boolean isFirefoxGreaterThan10()
public boolean isChromeGreaterThan30()
public java.lang.Object evalJSResult(java.lang.String cmdString)
cmdString
- public void setJavascriptHandler(int id, JavascriptHandler handler)
id
- handler
- public void onJavascriptResponse(int id, java.lang.String data, boolean encoded)
id
- request iddata
- data from dojo xhr responseencoded
- (currently unused)public int nextJavascriptCommunicationId()
public void log(java.lang.String string)