public class IdeaOverlay extends OverlayObject
| Modifier and Type | Class and Description |
|---|---|
class |
IdeaOverlay.IdeaActionListener |
class |
IdeaOverlay.ListKeyAdapter |
class |
IdeaOverlay.ListMouseAdapter |
class |
IdeaOverlay.ListMouseMotionAdapter |
| Modifier and Type | Field and Description |
|---|---|
protected JToggleButton |
ideaButton |
protected List<IdeaAction> |
ideas |
protected JList |
ideasList |
protected DefaultListModel |
ideasModel |
protected JScrollPane |
ideasScrollPane |
protected static int |
VISIBLE_IDEAS |
protected GrammarWindow |
window |
ALIGN_CENTER, ALIGN_CUSTOM, ALIGN_LEFT, content, DEFAULT_HEIGHT, DEFAULT_WIDTH, parentComponent, parentFrame| Constructor and Description |
|---|
IdeaOverlay(GrammarWindow window,
JComponent parentComponent) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyIdea(int index) |
void |
close() |
void |
hide() |
JComponent |
overlayCreateInterface() |
Point |
overlayCustomPosition() |
int |
overlayDefaultAlignment() |
int |
overlayDefaultHeight() |
int |
overlayDefaultWidth() |
boolean |
overlayWillDisplay() |
void |
resize() |
void |
resizeIdeas() |
void |
setIdeas(List<IdeaAction> ideas) |
void |
updateIdeasList() |
createKeyBindings, display, isOverlayVisibleInParentComponent, isVisible, overlayDisplayKeyStroke, overlayDisplayKeyStrokeMappingNameprotected static final int VISIBLE_IDEAS
protected GrammarWindow window
protected DefaultListModel ideasModel
protected JList ideasList
protected JScrollPane ideasScrollPane
protected JToggleButton ideaButton
protected List<IdeaAction> ideas
public IdeaOverlay(GrammarWindow window, JComponent parentComponent)
public void close()
close in class OverlayObjectpublic void setIdeas(List<IdeaAction> ideas)
public JComponent overlayCreateInterface()
overlayCreateInterface in class OverlayObjectpublic int overlayDefaultWidth()
overlayDefaultWidth in class OverlayObjectpublic int overlayDefaultHeight()
overlayDefaultHeight in class OverlayObjectpublic int overlayDefaultAlignment()
overlayDefaultAlignment in class OverlayObjectpublic Point overlayCustomPosition()
overlayCustomPosition in class OverlayObjectpublic void hide()
hide in class OverlayObjectpublic void resize()
resize in class OverlayObjectpublic void resizeIdeas()
public void updateIdeasList()
public boolean overlayWillDisplay()
overlayWillDisplay in class OverlayObjectpublic void applyIdea(int index)
Copyright © 2013. All rights reserved.