Class EquipmentScheduleView
- java.lang.Object
- 
- java.awt.Component
- 
- java.awt.Container
- 
- javax.swing.JComponent
- 
- javax.swing.JScrollPane
- 
- com.inductiveautomation.vision.api.client.components.model.AbstractVisionScrollPane
- 
- com.inductiveautomation.factorypmi.application.components.EquipmentScheduleView
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- DynamicPropertyProvider,- LocaleListener,- MutableDynamicPropertyProvider,- StyleProvider,- ComponentLifecycle,- DesignerInitializable,- EnabledEx,- ExtensibleComponent,- QualityMonitor,- VisionComponent,- java.awt.image.ImageObserver,- java.awt.MenuContainer,- java.io.Serializable,- javax.accessibility.Accessible,- javax.swing.ScrollPaneConstants
 
 public class EquipmentScheduleView extends AbstractVisionScrollPane implements DesignerInitializable, EnabledEx, LocaleListener, ExtensibleComponent - See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classEquipmentScheduleView.Timeline- 
Nested classes/interfaces inherited from class javax.swing.JScrollPanejavax.swing.JScrollPane.AccessibleJScrollPane, javax.swing.JScrollPane.ScrollBar
 - 
Nested classes/interfaces inherited from class javax.swing.JComponentjavax.swing.JComponent.AccessibleJComponent
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static java.lang.StringLABEL_FORMAT- 
Fields inherited from class com.inductiveautomation.vision.api.client.components.model.AbstractVisionScrollPaneantialias, context, cursorCode
 - 
Fields inherited from class javax.swing.JScrollPanecolumnHeader, horizontalScrollBar, horizontalScrollBarPolicy, lowerLeft, lowerRight, rowHeader, upperLeft, upperRight, verticalScrollBar, verticalScrollBarPolicy, viewport
 - 
Fields inherited from class javax.swing.JComponentlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 - 
Fields inherited from class java.awt.ComponentaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 - 
Fields inherited from interface com.inductiveautomation.vision.api.client.components.model.ComponentLifecycleCOMPONENT_RUNNING
 - 
Fields inherited from interface com.inductiveautomation.vision.api.client.components.model.EnabledExDISABLED_BY_PERMISSIONS
 - 
Fields inherited from interface java.awt.image.ImageObserverABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 - 
Fields inherited from interface com.inductiveautomation.ignition.client.model.LocaleListenerLOCAL_CHANGE_EVENT
 - 
Fields inherited from interface com.inductiveautomation.vision.api.client.binding.MutableDynamicPropertyProviderRESERVED_SET_KEY
 - 
Fields inherited from interface javax.swing.ScrollPaneConstantsCOLUMN_HEADER, HORIZONTAL_SCROLLBAR, HORIZONTAL_SCROLLBAR_ALWAYS, HORIZONTAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_NEVER, HORIZONTAL_SCROLLBAR_POLICY, LOWER_LEADING_CORNER, LOWER_LEFT_CORNER, LOWER_RIGHT_CORNER, LOWER_TRAILING_CORNER, ROW_HEADER, UPPER_LEADING_CORNER, UPPER_LEFT_CORNER, UPPER_RIGHT_CORNER, UPPER_TRAILING_CORNER, VERTICAL_SCROLLBAR, VERTICAL_SCROLLBAR_ALWAYS, VERTICAL_SCROLLBAR_AS_NEEDED, VERTICAL_SCROLLBAR_NEVER, VERTICAL_SCROLLBAR_POLICY, VIEWPORT
 - 
Fields inherited from interface com.inductiveautomation.vision.api.client.components.model.VisionComponentCOMPONENT_LOCKED, COMPONENT_PERMISSIONS, COMPONENT_SECURITY, COMPONENT_TRANSLATIONS
 
- 
 - 
Constructor SummaryConstructors Constructor Description EquipmentScheduleView()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddScheduleDropListener(ScheduleDropListener listener)voidevaluateEnabled()protected voidfireScheduledEventDroppedEvent(java.lang.String eventId, java.lang.Object oldItemId, java.lang.Object newItemId, java.util.Date oldStartDate, java.util.Date oldEndDate, java.util.Date newStartDate, java.util.Date newEndDate)DatasetgetBreakEvents()java.util.DategetDateAt(java.awt.event.MouseEvent mouseEvent)Used by customer scripts to convert mouse events given to extension functions to datetimesDatasetgetDowntimeEvents()java.util.DategetEndDate()javax.swing.border.BordergetEventBorder()java.awt.FontgetEventFont()java.util.Map<java.lang.String,ExtensionFunction>getExtensionFunctions()java.awt.ColorgetHeaderBackground()java.awt.FontgetHeaderFont()java.awt.ColorgetHeaderTextColor()java.awt.FontgetItemFont()DatasetgetItems()java.awt.ColorgetLineColor()intgetLineHeight()java.awt.ColorgetNowColor()java.awt.ColorgetProgressBackground()java.awt.ColorgetProgressBorder()java.awt.ColorgetProgressFill()java.awt.ColorgetScheduleBackground()intgetScheduledEventMargin()DatasetgetScheduledEvents()ScheduleDropListener[]getScheduleDropListeners()java.lang.StringgetSelectedEvent()javax.swing.border.BordergetSelectedEventBorder()java.util.DategetStartDate()DatasetgetTranslatedItems()voidinitialize()booleanisComponentEnabled()booleanisDragEnabled()booleanisResizeEnabled()voidlocaleChanged(java.util.Locale newLocale)static voidmain(java.lang.String[] args)voidremoveScheduleDropListener(ScheduleDropListener listener)voidsetBreakEvents(Dataset breakEvents)voidsetComponentEnabled(boolean componentEnabled)voidsetDowntimeEvents(Dataset downtimeEvents)voidsetDragEnabled(boolean dragEnabled)voidsetEndDate(java.util.Date endDate)voidsetEventBorder(javax.swing.border.Border eventBorder)voidsetEventFont(java.awt.Font eventFont)voidsetExtensionFunctions(java.util.Map<java.lang.String,ExtensionFunction> map)voidsetHeaderBackground(java.awt.Color headerBackground)voidsetHeaderFont(java.awt.Font headerFont)voidsetHeaderTextColor(java.awt.Color headerTextColor)voidsetItemFont(java.awt.Font itemFont)voidsetItems(Dataset items)voidsetLineColor(java.awt.Color lineColor)voidsetLineHeight(int lineHeight)voidsetNowColor(java.awt.Color nowColor)voidsetProgressBackground(java.awt.Color progressBackground)voidsetProgressBorder(java.awt.Color progressBorder)voidsetProgressFill(java.awt.Color progressFill)voidsetResizeEnabled(boolean resizeEnabled)voidsetScheduleBackground(java.awt.Color scheduleBackground)voidsetScheduledEventMargin(int scheduledEventMargin)voidsetScheduledEvents(Dataset scheduledEvents)voidsetSelectedEvent(java.lang.String selectedEvent)voidsetSelectedEventBorder(javax.swing.border.Border eventBorder)voidsetStartDate(java.util.Date startDate)- 
Methods inherited from class com.inductiveautomation.vision.api.client.components.model.AbstractVisionScrollPanegetAppContext, getCursorCode, getDataQuality, getDynamicProps, getProperties, getPropertyValue, getQuality, getStyles, getToolTipText, initStyleListener, isAntialias, isComponentRunning, isPropertyDefined, onShutdown, onStartup, paintChildren, paintComponent, setAntialias, setCursorCode, setDataQuality, setDynamicProps, setName, setPropertyValue, setQuality, setStyles, setToolTipText, setVisible, shutdownComponent, startupComponent, updateQuality
 - 
Methods inherited from class javax.swing.JScrollPanecreateHorizontalScrollBar, createVerticalScrollBar, createViewport, getAccessibleContext, getColumnHeader, getCorner, getHorizontalScrollBar, getHorizontalScrollBarPolicy, getRowHeader, getUI, getUIClassID, getVerticalScrollBar, getVerticalScrollBarPolicy, getViewport, getViewportBorder, getViewportBorderBounds, isValidateRoot, isWheelScrollingEnabled, paramString, setColumnHeader, setColumnHeaderView, setComponentOrientation, setCorner, setHorizontalScrollBar, setHorizontalScrollBarPolicy, setLayout, setRowHeader, setRowHeaderView, setUI, setVerticalScrollBar, setVerticalScrollBarPolicy, setViewport, setViewportBorder, setViewportView, setWheelScrollingEnabled, updateUI
 - 
Methods inherited from class javax.swing.JComponentaddAncestorListener, 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, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, paint, paintBorder, paintImmediately, paintImmediately, 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, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update
 - 
Methods inherited from class java.awt.Containeradd, 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, transferFocusDownCycle, validate, validateTree
 - 
Methods inherited from class java.awt.Componentaction, 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, 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, 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, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.vision.api.client.components.model.ComponentLifecyclegetAppContext, shutdownComponent, startupComponent
 
- 
 
- 
- 
- 
Field Detail- 
LABEL_FORMATpublic static final java.lang.String LABEL_FORMAT - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
mainpublic static void main(java.lang.String[] args) 
 - 
getExtensionFunctionspublic java.util.Map<java.lang.String,ExtensionFunction> getExtensionFunctions() - Specified by:
- getExtensionFunctionsin interface- ExtensibleComponent
 
 - 
setExtensionFunctionspublic void setExtensionFunctions(java.util.Map<java.lang.String,ExtensionFunction> map) - Specified by:
- setExtensionFunctionsin interface- ExtensibleComponent
 
 - 
addScheduleDropListenerpublic void addScheduleDropListener(ScheduleDropListener listener) 
 - 
removeScheduleDropListenerpublic void removeScheduleDropListener(ScheduleDropListener listener) 
 - 
getScheduleDropListenerspublic ScheduleDropListener[] getScheduleDropListeners() 
 - 
fireScheduledEventDroppedEventprotected void fireScheduledEventDroppedEvent(java.lang.String eventId, java.lang.Object oldItemId, java.lang.Object newItemId, java.util.Date oldStartDate, java.util.Date oldEndDate, java.util.Date newStartDate, java.util.Date newEndDate)
 - 
isComponentEnabledpublic boolean isComponentEnabled() - Specified by:
- isComponentEnabledin interface- EnabledEx
 
 - 
setComponentEnabledpublic void setComponentEnabled(boolean componentEnabled) - Specified by:
- setComponentEnabledin interface- EnabledEx
 
 - 
evaluateEnabledpublic void evaluateEnabled() - Specified by:
- evaluateEnabledin interface- EnabledEx
 
 - 
setDragEnabledpublic void setDragEnabled(boolean dragEnabled) 
 - 
isDragEnabledpublic boolean isDragEnabled() 
 - 
isResizeEnabledpublic boolean isResizeEnabled() 
 - 
setResizeEnabledpublic void setResizeEnabled(boolean resizeEnabled) 
 - 
setStartDatepublic void setStartDate(java.util.Date startDate) 
 - 
getStartDatepublic java.util.Date getStartDate() 
 - 
setEndDatepublic void setEndDate(java.util.Date endDate) 
 - 
getEndDatepublic java.util.Date getEndDate() 
 - 
setLineColorpublic void setLineColor(java.awt.Color lineColor) 
 - 
getLineColorpublic java.awt.Color getLineColor() 
 - 
setScheduledEventMarginpublic void setScheduledEventMargin(int scheduledEventMargin) 
 - 
getScheduledEventMarginpublic int getScheduledEventMargin() 
 - 
setScheduleBackgroundpublic void setScheduleBackground(java.awt.Color scheduleBackground) 
 - 
getScheduleBackgroundpublic java.awt.Color getScheduleBackground() 
 - 
setHeaderBackgroundpublic void setHeaderBackground(java.awt.Color headerBackground) 
 - 
getHeaderBackgroundpublic java.awt.Color getHeaderBackground() 
 - 
setHeaderTextColorpublic void setHeaderTextColor(java.awt.Color headerTextColor) 
 - 
getHeaderTextColorpublic java.awt.Color getHeaderTextColor() 
 - 
setHeaderFontpublic void setHeaderFont(java.awt.Font headerFont) 
 - 
getHeaderFontpublic java.awt.Font getHeaderFont() 
 - 
getLineHeightpublic int getLineHeight() 
 - 
setLineHeightpublic void setLineHeight(int lineHeight) 
 - 
setNowColorpublic void setNowColor(java.awt.Color nowColor) 
 - 
getNowColorpublic java.awt.Color getNowColor() 
 - 
getEventBorderpublic javax.swing.border.Border getEventBorder() 
 - 
setEventBorderpublic void setEventBorder(javax.swing.border.Border eventBorder) 
 - 
getSelectedEventBorderpublic javax.swing.border.Border getSelectedEventBorder() 
 - 
setSelectedEventBorderpublic void setSelectedEventBorder(javax.swing.border.Border eventBorder) 
 - 
setItemFontpublic void setItemFont(java.awt.Font itemFont) 
 - 
getItemFontpublic java.awt.Font getItemFont() 
 - 
setEventFontpublic void setEventFont(java.awt.Font eventFont) 
 - 
getEventFontpublic java.awt.Font getEventFont() 
 - 
getProgressBackgroundpublic java.awt.Color getProgressBackground() 
 - 
setProgressBackgroundpublic void setProgressBackground(java.awt.Color progressBackground) 
 - 
getProgressBorderpublic java.awt.Color getProgressBorder() 
 - 
setProgressBorderpublic void setProgressBorder(java.awt.Color progressBorder) 
 - 
getProgressFillpublic java.awt.Color getProgressFill() 
 - 
setProgressFillpublic void setProgressFill(java.awt.Color progressFill) 
 - 
getSelectedEventpublic java.lang.String getSelectedEvent() 
 - 
setSelectedEventpublic void setSelectedEvent(java.lang.String selectedEvent) 
 - 
initializepublic void initialize() - Specified by:
- initializein interface- DesignerInitializable
 
 - 
setItemspublic void setItems(Dataset items) 
 - 
getItemspublic Dataset getItems() 
 - 
getTranslatedItemspublic Dataset getTranslatedItems() 
 - 
setScheduledEventspublic void setScheduledEvents(Dataset scheduledEvents) 
 - 
getScheduledEventspublic Dataset getScheduledEvents() 
 - 
setDowntimeEventspublic void setDowntimeEvents(Dataset downtimeEvents) 
 - 
getDowntimeEventspublic Dataset getDowntimeEvents() 
 - 
setBreakEventspublic void setBreakEvents(Dataset breakEvents) 
 - 
getBreakEventspublic Dataset getBreakEvents() 
 - 
localeChangedpublic void localeChanged(java.util.Locale newLocale) - Specified by:
- localeChangedin interface- LocaleListener
- Overrides:
- localeChangedin class- AbstractVisionScrollPane
 
 - 
getDateAtpublic java.util.Date getDateAt(java.awt.event.MouseEvent mouseEvent) Used by customer scripts to convert mouse events given to extension functions to datetimes
 
- 
 
-