|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gerhardb.lib.playlist.Scroller
Commands to scroll among a group of pages. Used for making a slide show with sound. Class is a singleton.
| Field Summary | |
static Scroller |
gblScroller
|
static int |
SORT_DATE
|
static int |
SORT_LENGTH
|
static int |
SORT_NAME
|
static int |
SORT_OFF
|
| Method Summary | |
void |
addChangeListener(javax.swing.event.ChangeListener x)
|
void |
addListDataListener(javax.swing.event.ListDataListener l)
|
void |
addScrollerListener(ScrollerListener x)
|
void |
addSlideShowListener(SlideShowListener l)
|
void |
doSort()
|
boolean |
down()
|
boolean |
down(boolean showEndMessage)
|
void |
end()
|
javax.swing.ImageIcon |
getBeyondBounds()
|
java.awt.image.BufferedImage |
getCurrentImage()
|
java.io.File |
getCurrentImageFile()
|
IOImage |
getCurrentIOImage()
|
Page |
getCurrentPage()
|
java.lang.Object |
getElementAt(int index)
|
int |
getExtent()
|
int |
getMaximum()
Min and max are zero based which works well for the JSlider. |
int |
getMinimum()
|
java.awt.event.MouseWheelListener |
getMouseWheelListener()
|
javax.swing.Action |
getSavePictureAction()
|
int |
getSize()
|
int |
getSlideFlipDelay()
|
int |
getValue()
|
boolean |
getValueIsAdjusting()
|
boolean |
grow()
|
void |
home()
|
boolean |
isBeyond()
|
boolean |
isSlideShowRunning()
|
void |
jumpTo(int index)
Jump to a particular index. |
boolean |
jumpTo(java.lang.Object jumpTo)
Jump to a particular object. |
void |
jumpToPercent(int jumpTo)
Jumps to some percentage down the list. |
void |
keyPressed(java.awt.event.KeyEvent event)
|
void |
keyReleased(java.awt.event.KeyEvent event)
|
void |
keyTyped(java.awt.event.KeyEvent event)
|
void |
pageDown()
|
void |
pageUp()
|
void |
refreshCurrentImage()
|
void |
reload()
|
void |
removeChangeListener(javax.swing.event.ChangeListener x)
|
void |
removeCurrentPage()
Used for DnD. |
void |
removeListDataListener(javax.swing.event.ListDataListener l)
|
void |
removeScrollerListener(ScrollerListener x)
|
void |
removeSlideShowListener(SlideShowListener l)
|
void |
requestFocus()
|
boolean |
rotateLeft()
|
boolean |
rotateRight()
|
void |
save()
|
void |
setAutoFocus(java.awt.Component focus)
Componet to get focus when value is changed. |
void |
setCanEnableSave(boolean b)
|
void |
setExtent(int newExtent)
|
void |
setListMaker(ListMaker lm)
|
void |
setMaximum(int newMaximum)
|
void |
setMinimum(int newMinimum)
|
void |
setPageSize(int pageSize)
Set page size. |
void |
setRangeProperties(int value,
int extent,
int min,
int max,
boolean adjusting)
|
void |
setSlideFlipDelay(int millisedonds)
|
void |
setValue(int newValue)
|
void |
setValueIsAdjusting(boolean b)
|
boolean |
shrink()
|
void |
sort(int type)
|
void |
startSlideShow(java.awt.Component parent,
boolean continuous)
|
void |
stopSlideShow()
|
boolean |
up()
|
boolean |
up(boolean showEndMessage)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final Scroller gblScroller
public static final int SORT_OFF
public static final int SORT_NAME
public static final int SORT_DATE
public static final int SORT_LENGTH
| Method Detail |
public void setListMaker(ListMaker lm)
public void addListDataListener(javax.swing.event.ListDataListener l)
addListDataListener in interface javax.swing.ListModelpublic java.lang.Object getElementAt(int index)
getElementAt in interface javax.swing.ListModelpublic int getSize()
getSize in interface javax.swing.ListModelpublic void removeListDataListener(javax.swing.event.ListDataListener l)
removeListDataListener in interface javax.swing.ListModelpublic int getValue()
getValue in interface javax.swing.BoundedRangeModelpublic int getMaximum()
getMaximum in interface javax.swing.BoundedRangeModelpublic void setValue(int newValue)
setValue in interface javax.swing.BoundedRangeModelnewValue - Invalid values are silently ignored.public void addChangeListener(javax.swing.event.ChangeListener x)
addChangeListener in interface javax.swing.BoundedRangeModelpublic void removeChangeListener(javax.swing.event.ChangeListener x)
removeChangeListener in interface javax.swing.BoundedRangeModelpublic int getExtent()
getExtent in interface javax.swing.BoundedRangeModelpublic int getMinimum()
getMinimum in interface javax.swing.BoundedRangeModelpublic boolean getValueIsAdjusting()
getValueIsAdjusting in interface javax.swing.BoundedRangeModelpublic void setValueIsAdjusting(boolean b)
setValueIsAdjusting in interface javax.swing.BoundedRangeModel
public void setRangeProperties(int value,
int extent,
int min,
int max,
boolean adjusting)
setRangeProperties in interface javax.swing.BoundedRangeModelpublic void setExtent(int newExtent)
setExtent in interface javax.swing.BoundedRangeModelpublic void setMaximum(int newMaximum)
setMaximum in interface javax.swing.BoundedRangeModelpublic void setMinimum(int newMinimum)
setMinimum in interface javax.swing.BoundedRangeModelpublic void keyPressed(java.awt.event.KeyEvent event)
keyPressed in interface java.awt.event.KeyListenerpublic void keyReleased(java.awt.event.KeyEvent event)
keyReleased in interface java.awt.event.KeyListenerpublic void keyTyped(java.awt.event.KeyEvent event)
keyTyped in interface java.awt.event.KeyListenerpublic void sort(int type)
public void doSort()
public Page getCurrentPage()
public void reload()
public void removeCurrentPage()
public void setPageSize(int pageSize)
pageSize - How many items page up and page down should Scroller.public boolean up()
public boolean down()
public boolean up(boolean showEndMessage)
public boolean down(boolean showEndMessage)
public void pageUp()
public void pageDown()
public void home()
public void end()
public void jumpToPercent(int jumpTo)
jumpTo - between 0 and 100public boolean jumpTo(java.lang.Object jumpTo)
jumpTo - where to jump
public void jumpTo(int index)
index - where to jump
public void addSlideShowListener(SlideShowListener l)
public void removeSlideShowListener(SlideShowListener l)
public void startSlideShow(java.awt.Component parent,
boolean continuous)
public void stopSlideShow()
public boolean isSlideShowRunning()
public void setAutoFocus(java.awt.Component focus)
focus - what get focuspublic void requestFocus()
public void refreshCurrentImage()
public IOImage getCurrentIOImage()
public java.awt.image.BufferedImage getCurrentImage()
public boolean rotateRight()
public boolean rotateLeft()
public boolean shrink()
public boolean grow()
public java.io.File getCurrentImageFile()
public void setCanEnableSave(boolean b)
public javax.swing.Action getSavePictureAction()
public void save()
public void addScrollerListener(ScrollerListener x)
public void removeScrollerListener(ScrollerListener x)
public void setSlideFlipDelay(int millisedonds)
public int getSlideFlipDelay()
public java.awt.event.MouseWheelListener getMouseWheelListener()
public boolean isBeyond()
public javax.swing.ImageIcon getBeyondBounds()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||