|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
javax.swing.JWindow
edu.rice.cs.drjava.ui.RecentDocFrame
public class RecentDocFrame
This class extends a Swing view class. Hence it should only be accessed from the event-handling thread.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JWindow |
---|
JWindow.AccessibleJWindow |
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.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JWindow |
---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
RecentDocFrame(MainFrame f)
|
Method Summary | |
---|---|
void |
closeDocument(OpenDefinitionsDocument d)
Removes the document from the list. |
void |
first()
Resets the frame to point to the first document in the list. |
OpenDefinitionsDocument |
getDocument()
Returns null if the list is empty, or the currently prefered OpenDefinitionsDocument. |
void |
next()
Sets the current document to be the next document in the list. |
void |
pokeDocument(OpenDefinitionsDocument d)
Moves the document d to the beginning of the list if it's already in the list, or it adds it to the beginning if its not already in the list. |
void |
prev()
Sets the current document to be the previous document in the list. |
void |
refreshColor()
|
void |
reset()
Moves the selected document to the front of the list. |
void |
setVisible(boolean v)
Sets this frame as visible only if _docs is non empty. |
Methods inherited from class javax.swing.JWindow |
---|
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getGraphics, getLayeredPane, getRootPane, getTransferHandler, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setGlassPane, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update, windowInit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RecentDocFrame(MainFrame f)
Method Detail |
---|
public void pokeDocument(OpenDefinitionsDocument d)
public void closeDocument(OpenDefinitionsDocument d)
public void next()
public void prev()
public void first()
public void refreshColor()
public void setVisible(boolean v)
setVisible
in class Window
public void reset()
public OpenDefinitionsDocument getDocument()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |