public class ScheduleManagementPanel extends AbstractManagerPanel implements EnabledEx, LocaleListener, ExtensibleComponent
Modifier and Type | Class and Description |
---|---|
static class |
ScheduleManagementPanel.PySaveContext |
AbstractManagerPanel.GatewayInvokeWorker
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
slider, status, title
antialias, context, cursorCode, dynamicProps
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
DISABLED_BY_PERMISSIONS
COMPONENT_RUNNING
RESERVED_SET_KEY
COMPONENT_LOCKED, COMPONENT_PERMISSIONS, COMPONENT_SECURITY, COMPONENT_TRANSLATIONS
Constructor and Description |
---|
ScheduleManagementPanel() |
Modifier and Type | Method and Description |
---|---|
void |
evaluateEnabled() |
java.awt.Color |
getEventForeground()
Gets the available text color for the
ScheduleView contained in this panel
This is here for setting this components color via a property. |
java.util.Map<java.lang.String,ExtensionFunction> |
getExtensionFunctions() |
java.awt.Color |
getSchedulePreviewAvailableColor()
Gets the highlight color for the
ScheduleView contained in this panel
This is here for setting this components color via a property. |
java.awt.Color |
getTableBackground()
Gets the table background color for this panel
This is here for setting this components color via a property.
|
java.awt.Color |
getTableForeground()
Gets the text color for the tables in this panel
This is here for setting this components color via a property.
|
java.awt.Color |
getTableHeaderBackground()
Gets the tables' header background color.
|
java.awt.Color |
getTableHeaderTextColor()
Gets the tables' header text color for the various tables in this panel.
|
int |
getTouchscreenMode() |
java.awt.Color |
getWindowBackground()
Gets the background color for this panel
This is here for setting this components color via a property.
|
java.awt.Color |
getWindowForeground()
Gets the text color for this panel
This is here for setting this components color via a property.
|
java.awt.Color |
getWindowHeaderBackground()
Gets the header background for this panel.
|
java.awt.Color |
getWindowHeaderForeground()
Gets the header text color for this panel.
|
java.awt.Color |
getWindowHeaderSaveButtonBackground()
Gets the header save button background for this panel.
|
java.awt.Color |
getWindowHeaderSaveButtonForeground()
Returns the color of the save button.
|
protected void |
initPanels(SlidingPane slider)
Initialize your panels, add at least one to the slider
|
boolean |
isComponentEnabled() |
void |
localeChanged(java.util.Locale newLocale) |
void |
setComponentBorder(javax.swing.JPanel panel,
javax.swing.border.Border border)
This sets the border for the passed
JPanel using the passed Border . |
void |
setComponentEnabled(boolean componentEnabled) |
void |
setEventForeground(java.awt.Color color)
Sets the schedule preview available text color contained within the
ScheduleEditor . |
void |
setExtensionFunctions(java.util.Map<java.lang.String,ExtensionFunction> map) |
void |
setSchedulePreviewAvailableColor(java.awt.Color color)
Sets the schedule preview text color contained within the
ScheduleEditor . |
void |
setTableBackground(java.awt.Color color)
Sets the background to the various tables contained within this panel.
|
void |
setTableForeground(java.awt.Color color)
Sets the text color to the various tables contained within this panel.
|
void |
setTableHeaderBackground(java.awt.Color color)
Sets the header background to the various tables contained within this panel.
|
void |
setTableHeaderTextColor(java.awt.Color color)
Sets the header text color to the various tables contained within this panel.
|
void |
setTouchscreenMode(int touchscreenMode) |
void |
setWindowBackground(java.awt.Color color)
Sets the background to the various components contained within this panel.
|
void |
setWindowForeground(java.awt.Color color)
Sets the text color of the various components contained within this panel.
|
void |
setWindowHeaderBackground(java.awt.Color color)
Sets the header background for this panel.
|
void |
setWindowHeaderForeground(java.awt.Color color)
Sets the header text color for this panel.
|
void |
setWindowHeaderSaveButtonBackground(java.awt.Color color)
Sets the header save button background for this panel.
|
void |
setWindowHeaderSaveButtonForeground(java.awt.Color color)
Sets the text color of the save Button's text.
|
getSaveButtonForeground, getTitleBackground, getTitleForeground, getTitleSaveButtonBackground, isOptimizedDrawingEnabled, newTitledBorder, paintComponent, setFont, setSaveButtonForeground, setTitleBackground, setTitleForeground, setTitleSaveButtonBackground, showUIResponse, slideToEditor
getAppContext, getCursorCode, getDataQuality, getDynamicProps, getProperties, getPropertyValue, getStyles, getToolTipText, initStyleListener, isAntialias, isComponentRunning, isPropertyDefined, onShutdown, onStartup, paintChildren, paintOverlayOverChildren, setAntialias, setCursorCode, setDataQuality, setDynamicProps, setName, setPropertyValue, setStyles, setToolTipText, setVisible, shutdownComponent, startupComponent, translate, updateQuality
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, 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, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, 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, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update
add, 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, validateTree
action, 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, 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, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAppContext, shutdownComponent, startupComponent
protected void initPanels(SlidingPane slider)
AbstractManagerPanel
initPanels
in class AbstractManagerPanel
public boolean isComponentEnabled()
isComponentEnabled
in interface EnabledEx
public void setComponentEnabled(boolean componentEnabled)
setComponentEnabled
in interface EnabledEx
public void evaluateEnabled()
evaluateEnabled
in interface EnabledEx
public int getTouchscreenMode()
public void setTouchscreenMode(int touchscreenMode)
public void localeChanged(java.util.Locale newLocale)
localeChanged
in interface LocaleListener
localeChanged
in class AbstractVisionPanel
public void setComponentBorder(javax.swing.JPanel panel, javax.swing.border.Border border)
JPanel
using the passed Border
.
The panel can already have a border set and this will retain the color of the border.
This is due to colorization of the panel we need to retain the color of the border and reset it.panel
- the JPanel
to apply the border to. Must not be nullborder
- the Border
we wish to apply. If a border is already set, we will grab the color from it
and set it as the color of the new border. Must not be nullpublic void setWindowBackground(java.awt.Color color)
color
- the specified color. Must not be nullpublic void setWindowForeground(java.awt.Color color)
color
- the specified color. Must not be nullpublic void setTableBackground(java.awt.Color color)
color
- the specified color. Must not be nullpublic void setTableForeground(java.awt.Color color)
color
- the specified color. Must not be nullpublic void setTableHeaderBackground(java.awt.Color color)
color
- the specified color. Must not be nullpublic void setTableHeaderTextColor(java.awt.Color color)
color
- the specified color. Must not be nullpublic void setSchedulePreviewAvailableColor(java.awt.Color color)
ScheduleEditor
.
This is here for setting this components color via a property.color
- the specified color. Must not be nullpublic void setEventForeground(java.awt.Color color)
ScheduleEditor
.
This is here for setting this components color via a property.color
- the specified color. Must not be nullpublic void setWindowHeaderBackground(java.awt.Color color)
color
- the specified color. Must not be nullpublic void setWindowHeaderForeground(java.awt.Color color)
color
- the specified color. Must not be nullpublic java.awt.Color getWindowHeaderForeground()
public java.awt.Color getWindowHeaderBackground()
public void setWindowHeaderSaveButtonBackground(java.awt.Color color)
color
- the specified color. Must not be nullpublic void setWindowHeaderSaveButtonForeground(java.awt.Color color)
color
- the Color
to set the title text to. Must not be nullpublic java.awt.Color getWindowHeaderSaveButtonForeground()
public java.awt.Color getWindowHeaderSaveButtonBackground()
public java.awt.Color getTableHeaderTextColor()
public java.awt.Color getTableHeaderBackground()
public java.awt.Color getWindowBackground()
public java.awt.Color getWindowForeground()
public java.awt.Color getTableBackground()
public java.awt.Color getTableForeground()
public java.awt.Color getSchedulePreviewAvailableColor()
ScheduleView
contained in this panel
This is here for setting this components color via a property.ScheduleView
's available highlight color. Will not be nullpublic java.awt.Color getEventForeground()
ScheduleView
contained in this panel
This is here for setting this components color via a property.ScheduleView
's available text color. Will not be nullpublic java.util.Map<java.lang.String,ExtensionFunction> getExtensionFunctions()
getExtensionFunctions
in interface ExtensibleComponent
public void setExtensionFunctions(java.util.Map<java.lang.String,ExtensionFunction> map)
setExtensionFunctions
in interface ExtensibleComponent