Groovy Documentation

griffon.plugins.dialogs
[Java] Class FinderModel

java.lang.Object
  groovy.lang.GroovyObjectSupport
      org.codehaus.griffon.runtime.core.AbstractGriffonArtifact
          org.codehaus.griffon.runtime.core.AbstractGriffonMvcArtifact
              org.codehaus.griffon.runtime.core.AbstractGriffonModel
                  griffon.plugins.dialogs.AbstractDialogModel
                      griffon.plugins.dialogs.FinderModel

public class FinderModel
extends AbstractDialogModel

Authors:
Andres Almiray


Field Summary
static String DIALOG_NAME

static String KEY_ENTER_TYPED

static String KEY_MATCH_CASE

static String KEY_OUTPUT

static String KEY_REGEX

static String KEY_REPLACE_WITH

static String KEY_TO_FIND

static String KEY_WHOLE_WORLD

private static int MAX_ENTRIES

private boolean enterTyped

private boolean matchCase

private String output

private ca.odell.glazedlists.EventList recentFinds

private ca.odell.glazedlists.EventList recentReplacements

private boolean regex

private String replaceWith

private JComponent subject

private String toFind

private boolean wholeWord

 
Fields inherited from class AbstractDialogModel
center, height, modal, resizable, title, width
 
Constructor Summary
FinderModel()

 
Method Summary
protected String getDialogKey()

protected String getDialogTitle()

String getOutput()

ca.odell.glazedlists.EventList getRecentFinds()

ca.odell.glazedlists.EventList getRecentReplacements()

String getReplaceWith()

JComponent getSubject()

String getToFind()

boolean isEnterTyped()

boolean isMatchCase()

boolean isRegex()

boolean isWholeWord()

void mvcGroupInit(Map args)

void setEnterTyped(boolean enterTyped)

void setMatchCase(boolean matchCase)

void setOutput(String output)

void setRegex(boolean regex)

void setReplaceWith(String replaceWith)

void setSubject(JComponent subject)

void setToFind(String toFind)

void setWholeWord(boolean wholeWord)

private void updateList(String value, ca.odell.glazedlists.EventList list)

void updateRecentFinds()

void updateRecentReplacements()

 
Methods inherited from class AbstractDialogModel
getDialogKey, getDialogTitle, getHeight, getTitle, getWidth, isCenter, isModal, isResizable, mvcGroupInit, setCenter, setHeight, setModal, setResizable, setTitle, setWidth
 
Methods inherited from class AbstractGriffonModel
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, mvcGroupInit, mvcGroupDestroy, newInstance, getResourceAsStream, getResources, getMetaClass, setMetaClass, getLog, isUIThread, execAsync, execSync, execOutside, execInsideUIAsync, execInsideUISync, execOutsideUI, execFuture, execFuture, execFuture, execFuture, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, destroyMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, getResourceAsURL, getGriffonClass, getApp, metaClassOf, setApp, setProperty, getProperty, invokeMethod, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

DIALOG_NAME

public static final String DIALOG_NAME


KEY_ENTER_TYPED

public static final String KEY_ENTER_TYPED


KEY_MATCH_CASE

public static final String KEY_MATCH_CASE


KEY_OUTPUT

public static final String KEY_OUTPUT


KEY_REGEX

public static final String KEY_REGEX


KEY_REPLACE_WITH

public static final String KEY_REPLACE_WITH


KEY_TO_FIND

public static final String KEY_TO_FIND


KEY_WHOLE_WORLD

public static final String KEY_WHOLE_WORLD


MAX_ENTRIES

private static final int MAX_ENTRIES


enterTyped

private boolean enterTyped


matchCase

private boolean matchCase


output

private String output


recentFinds

private ca.odell.glazedlists.EventList recentFinds


recentReplacements

private ca.odell.glazedlists.EventList recentReplacements


regex

private boolean regex


replaceWith

private String replaceWith


subject

private JComponent subject


toFind

private String toFind


wholeWord

private boolean wholeWord


 
Constructor Detail

FinderModel

FinderModel()


 
Method Detail

getDialogKey

protected String getDialogKey()


getDialogTitle

protected String getDialogTitle()


getOutput

public String getOutput()


getRecentFinds

public ca.odell.glazedlists.EventList getRecentFinds()


getRecentReplacements

public ca.odell.glazedlists.EventList getRecentReplacements()


getReplaceWith

public String getReplaceWith()


getSubject

public JComponent getSubject()


getToFind

public String getToFind()


isEnterTyped

public boolean isEnterTyped()


isMatchCase

public boolean isMatchCase()


isRegex

public boolean isRegex()


isWholeWord

public boolean isWholeWord()


mvcGroupInit

public void mvcGroupInit(Map args)


setEnterTyped

public void setEnterTyped(boolean enterTyped)


setMatchCase

public void setMatchCase(boolean matchCase)


setOutput

public void setOutput(String output)


setRegex

public void setRegex(boolean regex)


setReplaceWith

public void setReplaceWith(String replaceWith)


setSubject

public void setSubject(JComponent subject)


setToFind

public void setToFind(String toFind)


setWholeWord

public void setWholeWord(boolean wholeWord)


updateList

private void updateList(String value, ca.odell.glazedlists.EventList list)


updateRecentFinds

public void updateRecentFinds()


updateRecentReplacements

public void updateRecentReplacements()


 

Groovy Documentation