net.sf.jomic.comic
Class ComicThumbView
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
net.sf.jomic.comic.ComicThumbView
- All Implemented Interfaces:
- ComponentListener, MouseListener, MouseWheelListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, ListSelectionModel
public class ComicThumbView
- extends JPanel
- implements ChangeListener, ComponentListener, ListSelectionModel, MouseListener, MouseWheelListener
JPanel to show all pages of a comic as thumbnails.
- Author:
- Thomas Aglassinger
- See Also:
- Serialized Form
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, 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, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, 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, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
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, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
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, hide, 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, transferFocusUpCycle |
ComicThumbView
public ComicThumbView()
setAnchorSelectionIndex
public void setAnchorSelectionIndex(int arg0)
- Specified by:
setAnchorSelectionIndex in interface ListSelectionModel
setComic
public void setComic(ComicModel newComic)
setLeadSelectionIndex
public void setLeadSelectionIndex(int newLeadSelectionIndex)
- Specified by:
setLeadSelectionIndex in interface ListSelectionModel
setSelectionColor
public void setSelectionColor(Color newSelectionColor)
setSelectionInterval
public void setSelectionInterval(int arg0,
int arg1)
- Specified by:
setSelectionInterval in interface ListSelectionModel
setSelectionMode
public void setSelectionMode(int newMode)
- Specified by:
setSelectionMode in interface ListSelectionModel
setValueIsAdjusting
public void setValueIsAdjusting(boolean adjusting)
- Specified by:
setValueIsAdjusting in interface ListSelectionModel
getAnchorSelectionIndex
public int getAnchorSelectionIndex()
- Specified by:
getAnchorSelectionIndex in interface ListSelectionModel
getLeadSelectionIndex
public int getLeadSelectionIndex()
- Specified by:
getLeadSelectionIndex in interface ListSelectionModel
getMaxSelectionIndex
public int getMaxSelectionIndex()
- Specified by:
getMaxSelectionIndex in interface ListSelectionModel
getMinSelectionIndex
public int getMinSelectionIndex()
- Specified by:
getMinSelectionIndex in interface ListSelectionModel
getSelectionColor
public Color getSelectionColor()
getSelectionMode
public int getSelectionMode()
- Specified by:
getSelectionMode in interface ListSelectionModel
getValueIsAdjusting
public boolean getValueIsAdjusting()
- Specified by:
getValueIsAdjusting in interface ListSelectionModel
isSelectedIndex
public boolean isSelectedIndex(int arg0)
- Specified by:
isSelectedIndex in interface ListSelectionModel
isSelectionEmpty
public boolean isSelectionEmpty()
- Specified by:
isSelectionEmpty in interface ListSelectionModel
addListSelectionListener
public void addListSelectionListener(ListSelectionListener listener)
- Specified by:
addListSelectionListener in interface ListSelectionModel
addSelectionInterval
public void addSelectionInterval(int arg0,
int arg1)
- Specified by:
addSelectionInterval in interface ListSelectionModel
clearSelection
public void clearSelection()
- Specified by:
clearSelection in interface ListSelectionModel
componentHidden
public void componentHidden(ComponentEvent event)
- Specified by:
componentHidden in interface ComponentListener
componentMoved
public void componentMoved(ComponentEvent event)
- Specified by:
componentMoved in interface ComponentListener
componentResized
public void componentResized(ComponentEvent event)
- Specified by:
componentResized in interface ComponentListener
componentShown
public void componentShown(ComponentEvent event)
- Specified by:
componentShown in interface ComponentListener
dispose
public void dispose()
insertIndexInterval
public void insertIndexInterval(int arg0,
int arg1,
boolean arg2)
- Specified by:
insertIndexInterval in interface ListSelectionModel
mouseClicked
public void mouseClicked(MouseEvent event)
- Specified by:
mouseClicked in interface MouseListener
mouseEntered
public void mouseEntered(MouseEvent event)
- Specified by:
mouseEntered in interface MouseListener
mouseExited
public void mouseExited(MouseEvent event)
- Specified by:
mouseExited in interface MouseListener
mousePressed
public void mousePressed(MouseEvent event)
- Specified by:
mousePressed in interface MouseListener
mouseReleased
public void mouseReleased(MouseEvent event)
- Specified by:
mouseReleased in interface MouseListener
mouseWheelMoved
public void mouseWheelMoved(MouseWheelEvent event)
- Specified by:
mouseWheelMoved in interface MouseWheelListener
removeIndexInterval
public void removeIndexInterval(int arg0,
int arg1)
- Specified by:
removeIndexInterval in interface ListSelectionModel
removeListSelectionListener
public void removeListSelectionListener(ListSelectionListener listener)
- Specified by:
removeListSelectionListener in interface ListSelectionModel
removeSelectionInterval
public void removeSelectionInterval(int arg0,
int arg1)
- Specified by:
removeSelectionInterval in interface ListSelectionModel
stateChanged
public void stateChanged(ChangeEvent event)
- Specified by:
stateChanged in interface ChangeListener