public abstract class AbstractManagerPanel extends AbstractVisionPanel
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractManagerPanel.GatewayInvokeWorker |
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
protected SlidingPane |
slider |
protected StatusLabel |
status |
protected TitlePanel |
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
RESERVED_SET_KEY
COMPONENT_LOCKED, COMPONENT_PERMISSIONS, COMPONENT_SECURITY, COMPONENT_TRANSLATIONS
COMPONENT_RUNNING
Modifier | Constructor and Description |
---|---|
protected |
AbstractManagerPanel() |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getSaveButtonForeground()
Returns the color of the save button.
|
java.awt.Color |
getTitleBackground()
Gets the
TitlePanel background color. |
java.awt.Color |
getTitleForeground()
Gets the
TitlePanel text color. |
java.awt.Color |
getTitleSaveButtonBackground()
Gets the
TitlePanel save button background color. |
protected abstract void |
initPanels(SlidingPane slider)
Initialize your panels, add at least one to the slider
|
boolean |
isOptimizedDrawingEnabled() |
static javax.swing.border.Border |
newTitledBorder(java.lang.String title)
Create a new titled border that insets the contents on the left by 5 px
|
protected void |
paintComponent(java.awt.Graphics g)
This will paint the scheduleEditor by first clearing the underlying space and setting the graphics
object to white for cascading to the parent paintComponent method.
|
void |
setFont(java.awt.Font font)
Sets the font of the Manager Panel as well as child components.
|
void |
setSaveButtonForeground(java.awt.Color color)
Sets the text color of the save Button's text.
|
void |
setTitleBackground(java.awt.Color color)
Sets the
TitlePanel background color. |
void |
setTitleForeground(java.awt.Color color)
Sets the
TitlePanel text color. |
void |
setTitleSaveButtonBackground(java.awt.Color color)
Sets the
TitlePanel save button background color. |
protected void |
showUIResponse(UIResponse response)
Pipes the UI response messages into the status panel
|
protected void |
slideToEditor(javax.swing.JComponent editor) |
getAppContext, getCursorCode, getDataQuality, getDynamicProps, getProperties, getPropertyValue, getStyles, getToolTipText, initStyleListener, isAntialias, isComponentRunning, isPropertyDefined, localeChanged, 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
protected TitlePanel title
protected SlidingPane slider
protected StatusLabel status
protected void paintComponent(java.awt.Graphics g)
paintComponent
in class AbstractVisionPanel
g
- the Graphics
object required for painting. Must not be nullpublic void setTitleBackground(java.awt.Color color)
TitlePanel
background color.
This is here for setting this components color via a property.color
- the specified color. Must not be nullpublic void setTitleForeground(java.awt.Color color)
TitlePanel
text color.
This is here for setting this components color via a property.color
- the specified color. Must not be nullpublic void setSaveButtonForeground(java.awt.Color color)
color
- the Color
to set the title text to. Must not be nullpublic java.awt.Color getSaveButtonForeground()
public java.awt.Color getTitleForeground()
TitlePanel
text color.
This is here for setting this components color via a property.TitlePanel
text color. Will not be nullpublic java.awt.Color getTitleBackground()
TitlePanel
background color.
This is here for setting this components color via a property.TitlePanel
background color. Will not be nullpublic void setTitleSaveButtonBackground(java.awt.Color color)
TitlePanel
save button background color.
This is here for setting this components color via a property.color
- the TitlePanel
save buttons background color. Must not be nullpublic java.awt.Color getTitleSaveButtonBackground()
TitlePanel
save button background color.
This is here for setting this components color via a property.TitlePanel
save button background color. Will not be nullpublic boolean isOptimizedDrawingEnabled()
isOptimizedDrawingEnabled
in class javax.swing.JComponent
protected abstract void initPanels(SlidingPane slider)
protected void slideToEditor(javax.swing.JComponent editor)
protected void showUIResponse(UIResponse response)
public static javax.swing.border.Border newTitledBorder(java.lang.String title)
public void setFont(java.awt.Font font)
setFont
in class javax.swing.JComponent