public class IlpEquipmentView extends IlpGraphView
IlpEquipmentModel
in a Rogue Wave JViews grapher.
Note that links that do not have both of their end nodes visible in the
same IlpEquipmentModel cannot be displayed.
IlpEquipmentModel,
IlpEquipmentController,
IlpEquipment,
Serialized FormIlpGraphView.VisibleModelConnectorJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategyconfiguration, SCROLLBAR_UNIT_INCREMENTlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTUPDATE_ALL_MASK, UPDATE_COMPONENT_MASK, UPDATE_NONE_MASK, UPDATE_OBJECTS_MASKAPPLIED_RULE_MASK, BAD_CLASS_MASK, BAD_PROP_MASK, BAD_PROP_WITH_STACK_MASK, CREATED_MASK, DECL_MASK, DECL_VALUE_MASK, FAILED_CONVERSIONS_MASK, TIME_REPORT_MASK, WARNING_PROP_MASKABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
IlpEquipmentView(IlpContext context)
Creates a view.
|
| Modifier and Type | Method and Description |
|---|---|
protected IlpGraphSelectionModel |
createGraphSelectionModel()
This method creates the default selection model.
|
Object |
createToolBarButtonFromAction(Action a)
Creates a toolbar button to execute the given action
|
protected ilog.cpl.graph.css.internal.IlpGraphViewCSSContext |
createViewCSSContext()
Creates the CSS context that will provide support for
cascading style sheets in this graph view.
|
protected ilog.cpl.graph.internal.IlpGraphVisibleModel |
createVisibleModel()
Creates a new visible model.
|
protected Class |
getDefaultLinkClass()
Retrieves the default class that implements
IlpEquipmentLink. |
protected Class |
getDefaultNodeClass()
Retrieves the default class that implements
IlpEquipmentNode. |
Class |
getGraphicComponentClass()
Returns the graphic component class supported by this implementation of
graphic view.
|
IlpPosition |
getRelativePosition(IlpPoint point,
IlpRepresentationObject repObj)
Deprecated.
Please use
IlpRelativePositionUtil instead. |
IlpEquipmentSelectionModel |
getSelectionModel()
Returns the selection model.
|
IlpStyle |
getStyle()
Deprecated.
The style API has been replaced by the cascading style sheet
mechanism.
|
IlpStyle |
getStyle(Class clazz)
Deprecated.
The style API has been replaced by the cascading style sheet
mechanism.
|
IlpStyle |
getStyle(IlpClass clazz)
Deprecated.
The style API has been replaced by the cascading style sheet
mechanism.
|
IlpStyle |
getStyle(IlpObject object)
Deprecated.
The style API has been replaced by the cascading style sheet
mechanism.
|
IlpStyle |
getStyle(IlpRepresentationObject object)
Deprecated.
The style API has been replaced by the cascading style sheet
mechanism.
|
IlpGraphicViewStyleManager |
getStyleManager()
Deprecated.
The style API has been replaced by the cascading style sheet
mechanism. Please use the method
setStyleSheets
or getStyleSheets instead. |
String |
getToolBarButtonClassFromActionType(String actionType)
Returns the button class name that corresponds to the given action type.
|
protected Logger |
getViewLogger()
Accesses the proper logger for handling log messages.
|
protected void |
initRenderers()
Call partial renderer initialization.
|
boolean |
isVisible(IlpLayer layer)
Deprecated.
Use
getCompositeGrapher().isVisible((IltcLayer)layer) instead. |
boolean |
isVisible(IlpLayer layer,
IlvManagerView view)
Deprecated.
Use
getCompositeGrapher().isVisible((IltcLayer)layer, view)
instead. |
void |
setGraphSelectionModel(IlpGraphSelectionModel selectionModel)
Sets the selection model.
|
void |
setStyleManager(IlpGraphicViewStyleManager configuration)
Deprecated.
The style API has been replaced by the cascading style sheet
mechanism. Please use the method
setStyleSheets
or getStyleSheets instead. |
void |
setVisible(IlpLayer layer,
boolean visible)
Deprecated.
Use
getCompositeGrapher().setVisible((IltcLayer)layer, visible)
instead. |
void |
setVisible(IlpLayer layer,
IlvManagerView view,
boolean visible)
Deprecated.
Use
getCompositeGrapher().setVisible((IltcLayer)layer, view, visible)
instead. |
activateDefaultViewInteractorName, addBackground, addBackgroundURL, addDebugListener, addGraphRendererListener, addNodeExpansionListener, addPendingContainerCollapse, addPseudoClass, addPseudoClass, addSelectionObject, addSelectionRepresentationObject, addVisibleChildren, clearSelection, collapseObject, createGrapher, createManagerView, defaultCollapseObject, defaultExpandObject, defaultIsExpanded, dispose, doUpdateGraphic, enableLinkLayoutRendererConfiguration, endDelayingUpdates, ensureAtCenter, ensureAtCenter, ensureVisible, ensureVisible, ensureVisible, ensureVisible, expandObject, fitToContents, fitToContents, getAttribute, getAutoLayoutIndex, getAutoLayoutIndex, getBackgroundLayer, getBackgroundLayers, getBackgrounds, getBackgroundsRenderer, getBackgroundSupport, getBackgroundURLs, getBaseRectangle, getBoundingBox, getCompositeGrapher, getContainer, getContainerGraphic, getContext, getController, getDefaultGestureAction, getDefaultGraphicRenderer, getDefaultViewInteractorName, getGrapher, getGrapherForCreateGraphic, getGraphic, getGraphic, getGraphicHolder, getGraphicRendererContextFactory, getGraphLayoutRenderer, getGraphLayouts, getGraphLayouts, getGraphLayouts, getGraphLayouts, getGraphLayoutSupport, getGraphSelectionModel, getHorizontalScrollBar, getInnermostGraphic, getInteractibleViews, getInteractorRenderer, getLabelLayout, getLabelLayoutRenderer, getLayoutProxy, getLayoutProxy, getLinkLayout, getLinkLayout, getLinkLayoutRenderer, getManagerView, getModel, getMutableStyleSheet, getNodeLayout, getNodeRenderer, getOverview, getOverviewRenderer, getPosition, getPositionConverter, getPositioningRenderer, getPositionSource, getPseudoClasses, getRepresentationObject, getRepresentationObject, getRepresentationObjectSelectionModel, getScrollView, getSelectedObject, getSelectedObjects, getSelectedRepresentationObject, getSelectedRepresentationObjects, getStyleListener, getStyleSheetDebugMask, getStyleSheets, getStyleSheets, getSubNetwork, getSubNetworkCompositeGrapher, getSynchronizationContext, getToolBar, getToolBarRenderer, getVerticalScrollBar, getViewCSSContext, getViewRenderer, getVisibleModelConnector, getVisibleObjects, getZoomingRenderer, getZoomPolicy, hasStyleSheets, invalidate, invalidateGraphics, isExpanded, isHorizontalScrollBarVisible, isLink, isModelChanging, isObjectSelected, isOverviewVisible, isRepresentationObjectSelected, isToolBarExternal, isToolBarVisible, isVerticalScrollBarVisible, isVisible, isVisible, isVisible, optimizeLayout, performAttachedLayout, performLabelLayout, performLayoutOnce, performLayoutOnce, performLayoutOnce, reload, reloadAllBackgrounds, reloadBackground, reloadBackgrounds, removeAllBackgroundURLs, removeBackground, removeBackgrounds, removeBackgroundURL, removeGraphRendererListener, removeNodeExpansionListener, removePseudoClass, removePseudoClass, removeSelectionObject, removeSelectionRepresentationObject, selectAll, setAutoLayoutIndex, setAutoLayoutIndex, setBackgrounds, setBackgroundsRenderer, setBackgroundSupport, setBackgroundURLs, setController, setDefaultGraphicRenderer, setDefaultViewInteractorName, setGraphicRendererContextFactory, setGraphLayoutRenderer, setGraphLayouts, setGraphLayouts, setGraphLayouts, setGraphLayouts, setGraphLayoutSupport, setHorizontalScrollBarVisible, setInteractorRenderer, setLabelLayout, setLabelLayoutRenderer, setLinkLayout, setLinkLayout, setLinkLayout, setLinkLayoutRenderer, setModel, setNodeLayout, setNodeLayout, setNodeRenderer, setOverviewRenderer, setOverviewVisible, setPosition, setPositionConverter, setPositioningRenderer, setSelectedObject, setSelectedObjects, setSelectedRepresentationObjects, setStyleSheetDebugMask, setStyleSheets, setStyleSheets, setStyleSheets, setStyleSheets, setToolBarExternal, setToolBarRenderer, setToolBarVisible, setVerticalScrollBarVisible, setViewRenderer, setViewSelected, setVisible, setVisible, setVisible, setZoomingRenderer, setZoomPolicy, startDelayingUpdates, unwrapGraphic, updateAllGraphics, updateGraphic, wrapGraphicaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUIadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddPropertyChangeListener, removePropertyChangeListenerpublic IlpEquipmentView(IlpContext context)
The underlying grapher is created through a call to
createGrapher. The attached IlvManagerView
is created through a call to createManagerView.
protected Logger getViewLogger()
getViewLogger in class IlpGraphViewpublic Class getGraphicComponentClass()
getGraphicComponentClass in interface IlpGraphicViewgetGraphicComponentClass in class IlpGraphViewprotected Class getDefaultNodeClass()
IlpEquipmentNode.getDefaultNodeClass in class IlpGraphViewClass that implements
IlpEquipmentNode.protected Class getDefaultLinkClass()
IlpEquipmentLink.getDefaultLinkClass in class IlpGraphViewClass that implements
IlpEquipmentLink.protected ilog.cpl.graph.css.internal.IlpGraphViewCSSContext createViewCSSContext()
createViewCSSContext in class IlpGraphViewprotected ilog.cpl.graph.internal.IlpGraphVisibleModel createVisibleModel()
createVisibleModel in class IlpGraphViewstaticModel is not
null; null otherwise.public String getToolBarButtonClassFromActionType(String actionType)
getToolBarButtonClassFromActionType in class IlpGraphViewpublic Object createToolBarButtonFromAction(Action a)
createToolBarButtonFromAction in class IlpGraphViewa - Actionpublic IlpEquipmentSelectionModel getSelectionModel()
protected IlpGraphSelectionModel createGraphSelectionModel()
This method creates a IlpDefaultEquipmentSelectionModel.
createGraphSelectionModel in class IlpGraphViewpublic void setGraphSelectionModel(IlpGraphSelectionModel selectionModel)
Note: It is the caller's responsibility to install an
IlpRepresentationMapper on the model.
setGraphSelectionModel in class IlpGraphViewIllegalArgumentException - if the given selection model is not
an IlpEquipmentSelectionModel.IlpEquipment.setSelectionModel(ilog.cpl.equipment.IlpEquipmentSelectionModel),
IlpEquipment.getSelectionModel()protected void initRenderers()
initRenderers in class IlpGraphView@Deprecated public IlpPosition getRelativePosition(IlpPoint point, IlpRepresentationObject repObj)
IlpRelativePositionUtil instead.point
into a position relative to the given representation object,
that corresponds to an
IltShelf, IltCardCarrier, or
IltCardItemContainer business object.point - X and Y view coordinates.repObj - The container representation object for position conversion.@Deprecated public boolean isVisible(IlpLayer layer)
getCompositeGrapher().isVisible((IltcLayer)layer) instead.layer - A JTGO layer.@Deprecated public void setVisible(IlpLayer layer, boolean visible)
getCompositeGrapher().setVisible((IltcLayer)layer, visible)
instead.layer - A JTGO layer.visible - The new layer visibility.@Deprecated public boolean isVisible(IlpLayer layer, IlvManagerView view)
getCompositeGrapher().isVisible((IltcLayer)layer, view)
instead.layer - A JTGO layer.view - A Rogue Wave JViews view, either getManagerView
or getOverview().getOverviewView().@Deprecated public void setVisible(IlpLayer layer, IlvManagerView view, boolean visible)
getCompositeGrapher().setVisible((IltcLayer)layer, view, visible)
instead.layer - A JTGO layer.view - A Rogue Wave JViews view, either getManagerView
or getOverview().getOverviewView()visible - The new layer visibility.@Deprecated public IlpGraphicViewStyleManager getStyleManager()
setStyleSheets
or getStyleSheets instead.getStyleManager in interface IlpGraphicViewgetStyleManager in class IlpGraphView@Deprecated public void setStyleManager(IlpGraphicViewStyleManager configuration)
setStyleSheets
or getStyleSheets instead.setStyleManager in interface IlpGraphicViewsetStyleManager in class IlpGraphView@Deprecated public IlpStyle getStyle()
Equivalent to getStyleManager().getStyle().
getStyle in class IlpGraphView@Deprecated public IlpStyle getStyle(IlpRepresentationObject object)
Equivalent to getStyleManager().getStyle(object).
getStyle in class IlpGraphView@Deprecated public IlpStyle getStyle(IlpObject object)
Equivalent to getStyleManager().getStyle(object).
getStyle in class IlpGraphView@Deprecated public IlpStyle getStyle(IlpClass clazz)
Equivalent to getStyleManager().getStyle(clazz).
getStyle in class IlpGraphView@Deprecated public IlpStyle getStyle(Class clazz)
Equivalent to getStyleManager().getStyle(clazz).
getStyle in class IlpGraphView© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.