|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Dialog javax.swing.JDialog net.sourceforge.pavlov.pluglets.feedback.AbstractFeedbackPluglet net.sourceforge.pavlov.feedback.old.AbstractFeedbackPanel net.sourceforge.pavlov.pluglets.feedback.random.RandomImage
public class RandomImage
RandomImage
is a concrete example of a user feedback module.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JDialog |
---|
JDialog.AccessibleJDialog |
Nested classes/interfaces inherited from class java.awt.Dialog |
---|
Dialog.AccessibleAWTDialog |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected JMenuItem |
adv
Describe variable adv here. |
protected JMenuItem |
begin
Describe variable begin here. |
protected BeginnerFeedbackMode |
beginner
Describe variable beginner here. |
protected CacheObject |
cacheObject
Describe variable cacheObject here. |
protected JMenuItem |
chooseItem
Describe variable chooseItem here. |
protected ExpertFeedbackMode |
expert
Describe variable expert here. |
protected RandomImageFactory |
ifac
Describe variable ifac here. |
protected JMenuItem |
inter
Describe variable inter here. |
protected IntermediateFeedbackMode |
intermed
Describe variable intermed here. |
protected Icon |
logo
Describe variable logo here. |
protected JMenuBar |
menu
Describe variable menu here. |
protected DefaultVisualFeedbackMode |
mode
Describe variable mode here. |
protected HashtableJRadioButtonMenu |
pix
Describe variable pix here. |
static String |
PLUGLET_FEEDBACK_IMAGE_RANDOM
|
static String |
PLUGLET_FEEDBACK_IMAGE_RANDOM_DESCRIPTION
|
protected JMenuItem |
refreshItem
Describe variable refreshItem here. |
protected int |
rights
Describe variable rights here. |
protected Dimension |
screenSize
Describe variable screenSize here. |
protected JScrollPane |
scroller
Describe variable scroller here. |
protected int |
size
Describe variable size here. |
Fields inherited from class net.sourceforge.pavlov.feedback.old.AbstractFeedbackPanel |
---|
imageLabel, jCheckBox1, jLabel4, jLabel7 |
Fields inherited from class net.sourceforge.pavlov.pluglets.feedback.AbstractFeedbackPluglet |
---|
rb |
Fields inherited from class javax.swing.JDialog |
---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
RandomImage()
Creates a new RandomImage instance. |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent e)
Describe actionPerformed method here. |
void |
answerEvent(AnswerEvent e)
Describe answerEvent method here. |
String |
getDescription()
Describe getDescription method here. |
String |
getDirectoryName()
Describe getDirectoryName method here. |
String |
getName()
Describe getName method here. |
String |
getResourcePath(String in)
Describe getResourcePath method here. |
protected void |
makeImageBaseMenu()
Creates a menu allowing the user to select or refresh the base directory * or JAR file for images. |
protected void |
makeModeMenu()
Creates the Beginner/Intermediate/Advanced mode Menu. |
protected void |
makeTitle()
Sets the window title to "mode: filename" |
void |
mediaRootChanged()
Called when user selects a new base directory/JAR for images. |
protected void |
resetPicture()
Describe resetPicture method here. |
void |
setFeedbackMode(DefaultVisualFeedbackMode m)
Describe setFeedbackMode method here. |
void |
setFeedbackMode(int i)
Deprecated. |
protected void |
setMessage(String pre)
Describe setMessage method here. |
void |
setSticky(boolean s)
Describe setSticky method here. |
void |
start()
Describe start method here. |
Methods inherited from class net.sourceforge.pavlov.feedback.old.AbstractFeedbackPanel |
---|
init, setDirectoryName, setImageSize, setNumberOfActiveItems, setTopMessage |
Methods inherited from class net.sourceforge.pavlov.pluglets.feedback.AbstractFeedbackPluglet |
---|
setVisible, stop, toString |
Methods inherited from class java.awt.Dialog |
---|
addNotify, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PLUGLET_FEEDBACK_IMAGE_RANDOM
public static final String PLUGLET_FEEDBACK_IMAGE_RANDOM_DESCRIPTION
protected int size
size
here.
protected Icon logo
logo
here.
protected int rights
rights
here.
protected RandomImageFactory ifac
ifac
here.
protected DefaultVisualFeedbackMode mode
mode
here.
protected BeginnerFeedbackMode beginner
beginner
here.
protected IntermediateFeedbackMode intermed
intermed
here.
protected ExpertFeedbackMode expert
expert
here.
protected CacheObject cacheObject
cacheObject
here.
protected Dimension screenSize
screenSize
here.
protected JScrollPane scroller
scroller
here.
protected JMenuItem refreshItem
refreshItem
here.
protected JMenuItem chooseItem
chooseItem
here.
protected JMenuItem begin
begin
here.
protected JMenuItem inter
inter
here.
protected JMenuItem adv
adv
here.
protected HashtableJRadioButtonMenu pix
pix
here.
protected JMenuBar menu
menu
here.
Constructor Detail |
---|
public RandomImage()
RandomImage
instance.
Method Detail |
---|
@Deprecated public void setFeedbackMode(int i)
setFeedbackMode
method here.
i
- an int
valuepublic void setFeedbackMode(DefaultVisualFeedbackMode m)
setFeedbackMode
method here.
m
- a DefaultVisualFeedbackMode
valuepublic String getName()
getName
method here.
getName
in interface Pluglet
getName
in class AbstractFeedbackPanel
String
valuepublic String getDescription()
getDescription
method here.
getDescription
in interface Pluglet
getDescription
in class AbstractFeedbackPanel
String
valuepublic String getDirectoryName()
getDirectoryName
method here.
String
valuepublic void start()
start
method here.
start
in class AbstractFeedbackPluglet
protected void resetPicture()
resetPicture
method here.
protected void makeTitle()
public void answerEvent(AnswerEvent e)
answerEvent
method here.
answerEvent
in interface AnswerListener
answerEvent
in class AbstractFeedbackPluglet
e
- an AnswerEvent
valueprotected void setMessage(String pre)
setMessage
method here.
setMessage
in class AbstractFeedbackPanel
pre
- a String
valuepublic void actionPerformed(ActionEvent e)
actionPerformed
method here.
actionPerformed
in interface ActionListener
actionPerformed
in class AbstractFeedbackPluglet
e
- a java.awt.event.ActionEvent
valuepublic void mediaRootChanged()
mediaRootChanged
in interface MediaRootChangedListener
protected void makeModeMenu()
protected void makeImageBaseMenu()
public String getResourcePath(String in)
getResourcePath
method here.
in
- a String
value
String
valuepublic void setSticky(boolean s)
setSticky
method here.
FIXME: broke sticky images in 1.0 push.
s
- a boolean
value
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |