T - the pdo typepublic abstract class PdoFinder<T extends org.tentackle.pdo.PersistentDomainObject<T>> extends AbstractFxController implements org.tentackle.pdo.PdoHolder<T>, org.tentackle.pdo.DomainContextProvider
| Constructor and Description |
|---|
PdoFinder() |
| Modifier and Type | Method and Description |
|---|---|
org.tentackle.pdo.DomainContext |
getDomainContext() |
abstract javafx.beans.property.ObjectProperty<javafx.event.EventHandler<javafx.event.ActionEvent>> |
getSearchActionProperty()
Gets the search action property.
|
boolean |
isSearchRunningImmediately()
Returns whether to run the search immediately without any futher user interaction.
|
boolean |
isSearchRunningInBackground()
Returns whether the query might block the client for alonger time.
|
boolean |
isVisible()
Returns whether the finder is visible.
|
abstract void |
requestInitialFocus()
Requests the initial focus after stage is shown.
|
abstract javafx.collections.ObservableList<T> |
runSearch()
Runs the search.
|
void |
setSearchRunningImmediately(boolean searchRunningImmediately)
Defines whether to run the search immediately without any futher user interaction.
|
void |
setSearchRunningInBackground(boolean searchRunningInBackground)
Defines whether the query might block the client for alonger time.
|
void |
setVisible(boolean visible)
Sets the visibility of the finder's view.
|
configure, createBinder, getBinder, getContainer, getDefaultScopes, getFXMLFields, getFXMLMethods, getStage, getView, setView, validateInjectionspublic abstract javafx.collections.ObservableList<T> runSearch()
public abstract void requestInitialFocus()
public abstract javafx.beans.property.ObjectProperty<javafx.event.EventHandler<javafx.event.ActionEvent>> getSearchActionProperty()
public org.tentackle.pdo.DomainContext getDomainContext()
getDomainContext in interface org.tentackle.pdo.DomainContextProviderpublic boolean isSearchRunningInBackground()
public void setSearchRunningInBackground(boolean searchRunningInBackground)
searchRunningInBackground - true if better run in background, false if in event-thread (default)public boolean isSearchRunningImmediately()
public void setSearchRunningImmediately(boolean searchRunningImmediately)
searchRunningImmediately - true if immediate searchpublic boolean isVisible()
public void setVisible(boolean visible)
visible - true if visible (default)Copyright © 2016 Krake Softwaretechnik. All rights reserved.