|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsears.gui.glassPane.ViewportGlassPaneModule
sears.search.core.FindModule
public class FindModule
BETA CLASS: Find action core, extension of MainWindow class
Field Summary |
---|
Fields inherited from class sears.gui.glassPane.ViewportGlassPaneModule |
---|
isViewportChanged, view, viewport |
Constructor Summary | |
---|---|
FindModule(javax.swing.JScrollPane scrollPane)
Constructs a new FindModule object. |
Method Summary | |
---|---|
void |
cancel()
Cancel the action |
void |
fire(FindDialog dialog,
java.util.ArrayList<Subtitle> subtitleList,
boolean backward)
Principal method |
void |
fireAdjustmentValueChanged(java.awt.event.AdjustmentEvent e)
|
void |
fireViewChange()
Use when view change |
void |
fireWordNotFound()
Alerts that the word is not found in subtitle |
java.awt.Point |
getPillLocation(java.awt.Rectangle cell)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FindModule(javax.swing.JScrollPane scrollPane)
FindModule
object.
scrollPane
-
java.lang.NullPointerException
- if scrollPane is null
java.lang.NullPointerException
- if its view port is null
java.lang.IllegalArgumentException
- if the view of the view port is not a JTable
objectJScrollPane
,
JViewport
Method Detail |
---|
public void fire(FindDialog dialog, java.util.ArrayList<Subtitle> subtitleList, boolean backward)
dialog
- the dialog which calls the find actionsubtitleList
- the subtitle list where search occursbackward
- direction of searchpublic void cancel()
public java.awt.Point getPillLocation(java.awt.Rectangle cell)
cell
- the cell
public void fireViewChange()
ViewportGlassPaneModule
fireViewChange
in class ViewportGlassPaneModule
public void fireWordNotFound()
public void fireAdjustmentValueChanged(java.awt.event.AdjustmentEvent e)
fireAdjustmentValueChanged
in class ViewportGlassPaneModule
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |