public class DispatcherViewerApplet
extends javax.swing.JApplet
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BUFSIZE |
Constructor and Description |
---|
DispatcherViewerApplet() |
Modifier and Type | Method and Description |
---|---|
void |
forceMapRedraw(ilog.views.gantt.IlvGanttModel ganttModel) |
SimpleMessageBus |
getAppletEventBus()
Returns the
SimpleMessageBus instance that other components can use to register event listeners when
they need to listen for events that originate from the Maximo server. |
java.lang.String |
getAppName()
Get's teh Scheduler app ID
|
java.lang.String |
getColorForActivity(java.lang.String activityId)
returns the hex RBG color code assigned to this activity
|
java.lang.String |
getColorForResource(java.lang.String resId)
returns the hex RBG color code assigned to this resource
|
java.lang.String |
getProjectId()
get the current project id
|
java.lang.String |
getServerServletUrl()
get the servlet base url
|
ISKDUIInfo |
getSKDUIInfo() |
SKDUserLocaleData |
getSKDUserLocaleData() |
java.lang.String |
getUISessionId()
Returns the current Maximo UI Session id
|
void |
handleAppletEvent(java.lang.String eventName,
java.lang.String eventData,
boolean decode)
Dispatches an event to the Applet
|
void |
highlightactivity(java.lang.String activityid)
function meant to be called from the Map, highlight/select the activity with an Id
of activityid
|
void |
init() |
boolean |
isLoaded() |
void |
jsCallback(java.lang.String methodName,
java.lang.String params) |
static void |
main(java.lang.String[] args) |
void |
onModelUpdate(ilog.views.gantt.IlvGanttModel model,
com.ibm.json.java.JSONObject refreshOptions) |
ilog.views.gantt.IlvGanttModel |
retrieveProjectDataModel(java.lang.String projectId,
com.ibm.json.java.JSONObject refreshOptions,
java.lang.String resObj,
java.lang.String resKey)
Added the call the invoke via PrivilegedAction due to plugin restrictions (we get AccessControlException errors)
http://www.oracle.com/technetwork/java/javase/6u22releasenotes-176121.html
|
ilog.views.gantt.IlvGanttModel |
retrieveProjectDataModelRemote(java.lang.String projectId,
com.ibm.json.java.JSONObject refreshOptions,
java.lang.String resObj,
java.lang.String resKey)
Makes a connection to the servlet and get the MXGantModel and copies into AppletGanttModel
|
ISKDUIInfo |
retrieveSKDUIInfo()
Added the call the invoke via PrivilegedAction due to plugin restrictions (we get AccessControlException errors)
http://www.oracle.com/technetwork/java/javase/6u22releasenotes-176121.html
|
ISKDUIInfo |
retrieveSKDUIInfoRemote() |
void |
setJSCommunicationReady() |
void |
setLookAndFeel() |
void |
setProjectId(java.lang.String projectId)
set the current project id
|
void |
setServerServletUrl(java.lang.String serverServletUrl)
set the servletbaseurl
|
void |
start()
Override from base.
|
void |
startFullRefreshTask()
Method used to do a full refresh of the model as a background task.
|
void |
updateModel() |
void |
updateModelAppletOnly() |
void |
updateModelForResource(com.ibm.json.java.JSONObject paramsJson) |
void |
updateModelWithOptions(java.lang.String jsonOptions) |
void |
updateProjId(java.lang.String projId) |
boolean |
waitOnMap() |
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, 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, 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, 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 int DEFAULT_BUFSIZE
public static void main(java.lang.String[] args)
public void setLookAndFeel()
public boolean waitOnMap()
public void init()
init
in class java.applet.Applet
public void updateModelAppletOnly()
public void updateModel()
public void updateModelWithOptions(java.lang.String jsonOptions)
public void start()
start
in class java.applet.Applet
public void startFullRefreshTask()
public ilog.views.gantt.IlvGanttModel retrieveProjectDataModel(java.lang.String projectId, com.ibm.json.java.JSONObject refreshOptions, java.lang.String resObj, java.lang.String resKey) throws java.lang.Exception
java.lang.Exception
public java.lang.String getColorForActivity(java.lang.String activityId)
activityId
- public void onModelUpdate(ilog.views.gantt.IlvGanttModel model, com.ibm.json.java.JSONObject refreshOptions)
public java.lang.String getColorForResource(java.lang.String resId)
resId
- public ilog.views.gantt.IlvGanttModel retrieveProjectDataModelRemote(java.lang.String projectId, com.ibm.json.java.JSONObject refreshOptions, java.lang.String resObj, java.lang.String resKey) throws java.lang.Exception
projectId
- java.lang.Exception
public void setJSCommunicationReady()
public boolean isLoaded()
public void updateProjId(java.lang.String projId)
public void jsCallback(java.lang.String methodName, java.lang.String params)
public SKDUserLocaleData getSKDUserLocaleData()
public ISKDUIInfo getSKDUIInfo()
public java.lang.String getAppName()
APPNAME
- webclientsession.getCurrentApp.GetID()public ISKDUIInfo retrieveSKDUIInfo() throws java.lang.Exception
java.lang.Exception
public ISKDUIInfo retrieveSKDUIInfoRemote() throws java.lang.Exception
java.lang.Exception
public void forceMapRedraw(ilog.views.gantt.IlvGanttModel ganttModel)
public void updateModelForResource(com.ibm.json.java.JSONObject paramsJson)
public java.lang.String getProjectId()
public void setProjectId(java.lang.String projectId)
public java.lang.String getServerServletUrl()
public void setServerServletUrl(java.lang.String serverServletUrl)
serverServletUrl
- public java.lang.String getUISessionId()
public void highlightactivity(java.lang.String activityid)
activityid
- public SimpleMessageBus getAppletEventBus()
SimpleMessageBus
instance that other components can use to register event listeners when
they need to listen for events that originate from the Maximo server.public void handleAppletEvent(java.lang.String eventName, java.lang.String eventData, boolean decode)
eventName
- eventData
- decode
-