public abstract class SideMapDrawer
extends javax.swing.JLayeredPane
implements java.awt.event.ComponentListener
Modifier and Type | Class and Description |
---|---|
protected class |
SideMapDrawer.DrawerHandle |
protected class |
SideMapDrawer.TargetDrawerContainerToggle |
protected class |
SideMapDrawer.TargetDrawerToggle |
javax.swing.JLayeredPane.AccessibleJLayeredPane
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JPanel |
backgroundPanel |
protected CoolMapView |
canvas |
protected java.awt.Point |
colRowDimensions |
protected int |
drawerContainerHandleHeight |
protected int |
drawerContainerHandleWidth |
protected java.util.List<SideMapDrawer.DrawerHandle> |
drawerHandles |
protected int |
drawerHandleSize |
protected javax.swing.JPanel |
handle |
protected SideMapDrawer.TargetDrawerContainerToggle |
targetToggle |
protected org.jdesktop.core.animation.timing.Animator |
toggleAnimator |
DEFAULT_LAYER, DRAG_LAYER, FRAME_CONTENT_LAYER, LAYER_PROPERTY, MODAL_LAYER, PALETTE_LAYER, POPUP_LAYER
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
SideMapDrawer(java.awt.Point colRowDimensions,
CoolMapView canvas) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
_updateDrawerContainerBounds(int delta) |
void |
addSideMap(SideMap sideMap) |
void |
clearBuffers() |
void |
clearSideMaps() |
void |
componentHidden(java.awt.event.ComponentEvent ce) |
void |
componentMoved(java.awt.event.ComponentEvent ce) |
void |
componentShown(java.awt.event.ComponentEvent ce) |
protected abstract ViewDirectionEnum |
getDirection() |
protected abstract javax.swing.JPanel |
getDrawerContainerHandlePanel() |
SideMap |
getSideMap(java.lang.String className) |
java.util.List<SideMap> |
getSideMaps() |
void |
justifyView() |
void |
moveSideMapToBottom(SideMap sideMap) |
protected abstract SideMapDrawer.DrawerHandle |
newDrawerHandleInstance(SideMap sideMap,
int initialSize) |
void |
removeSideMap(SideMap sideMap) |
abstract void |
setDrawerContainerSize(int size) |
void |
setEnabled(boolean enabled) |
abstract void |
updateBounds() |
void |
updateDrawerBuffers() |
void |
updateDrawerBuffers(int minRow,
int maxRow,
int minCol,
int maxCol,
java.awt.Rectangle dimension) |
void |
updateDrawerSize() |
addImpl, getAccessibleContext, getComponentCountInLayer, getComponentsInLayer, getComponentToLayer, getIndexOf, getLayer, getLayer, getLayeredPaneAbove, getObjectForLayer, getPosition, highestLayer, insertIndexForLayer, isOptimizedDrawingEnabled, lowestLayer, moveToBack, moveToFront, paint, paramString, putLayer, remove, removeAll, setLayer, setLayer, setPosition
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, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, 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, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
add, add, add, add, add, addContainerListener, 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, 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, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
protected final int drawerContainerHandleWidth
protected final int drawerContainerHandleHeight
protected java.util.List<SideMapDrawer.DrawerHandle> drawerHandles
protected final int drawerHandleSize
protected javax.swing.JPanel handle
protected SideMapDrawer.TargetDrawerContainerToggle targetToggle
protected org.jdesktop.core.animation.timing.Animator toggleAnimator
protected javax.swing.JPanel backgroundPanel
protected final java.awt.Point colRowDimensions
protected CoolMapView canvas
public SideMapDrawer(java.awt.Point colRowDimensions, CoolMapView canvas)
public void clearBuffers()
public void setEnabled(boolean enabled)
setEnabled
in class javax.swing.JComponent
public void justifyView()
public void moveSideMapToBottom(SideMap sideMap)
public void removeSideMap(SideMap sideMap)
public void clearSideMaps()
public java.util.List<SideMap> getSideMaps()
public SideMap getSideMap(java.lang.String className)
public void addSideMap(SideMap sideMap)
protected abstract SideMapDrawer.DrawerHandle newDrawerHandleInstance(SideMap sideMap, int initialSize)
public void updateDrawerBuffers(int minRow, int maxRow, int minCol, int maxCol, java.awt.Rectangle dimension)
public void updateDrawerSize()
public void updateDrawerBuffers()
public abstract void updateBounds()
public abstract void setDrawerContainerSize(int size)
protected abstract void _updateDrawerContainerBounds(int delta)
protected abstract ViewDirectionEnum getDirection()
protected abstract javax.swing.JPanel getDrawerContainerHandlePanel()
public void componentMoved(java.awt.event.ComponentEvent ce)
componentMoved
in interface java.awt.event.ComponentListener
public void componentShown(java.awt.event.ComponentEvent ce)
componentShown
in interface java.awt.event.ComponentListener
public void componentHidden(java.awt.event.ComponentEvent ce)
componentHidden
in interface java.awt.event.ComponentListener