public interface OptionsUnit
ConfigurableUnit
interface in order
to store the configured values persistently.
Modifier and Type | Method and Description |
---|---|
int |
find(java.lang.String pattern)
Searches this unit for certain patterns specified by the user.
|
javax.swing.ImageIcon |
getBigIcon()
Provides the graphical icon of a certain size (normally 32x32 pixels).
|
java.awt.Component |
getComponent()
Provides the GUI component to be displayed.
|
javax.swing.ImageIcon |
getSmallIcon()
Provides the graphical icon of a certain size (normally 16x16 pixels).
|
java.lang.String |
getText()
Provides the text of the item to be displayed in the list of the
OptionsDialog . |
java.lang.String |
getTitle()
Provides the title of the item to be displayed on top of the
OptionsDialog . |
boolean |
isInputValid()
Provides the info if the options of this unit are OK to be used.
|
boolean |
isModified()
Provides the info if the options of this unit have been changed.
|
void |
resetSearch(java.lang.String pattern)
Resets this unit so that the components do not highlight any search results.
|
void |
unitAdded(OptionsDialog parent,
java.lang.String id)
Informs the unit that it was added to the dialog.
|
void |
unitBecomesHidden()
Informs the unit that it will vanish from the screen (deselected).
|
void |
unitBecomesShown()
Informs the unit that it becomes visible on the screen (selected).
|
void |
unitIsHiding()
Informs the unit that it was made invisible by the manager (deselected).
|
void |
unitIsShowing()
Informs the unit that it was made visible by the manager (selected).
|
void |
unitRemoved(OptionsDialog parent,
java.lang.String id)
Informs the unit that it was removed from the tabbed window.
|
java.lang.String getText()
OptionsDialog
.
javax.swing.ImageIcon getBigIcon()
javax.swing.ImageIcon getSmallIcon()
java.lang.String getTitle()
OptionsDialog
.
java.awt.Component getComponent()
null
indicates folder functionalityint find(java.lang.String pattern)
pattern
- The search patternvoid resetSearch(java.lang.String pattern)
pattern
- The search patternboolean isModified()
boolean isInputValid()
void unitAdded(OptionsDialog parent, java.lang.String id)
parent
- The dialogid
- The unique IDvoid unitRemoved(OptionsDialog parent, java.lang.String id)
parent
- The dialogid
- The unique IDvoid unitBecomesShown()
void unitBecomesHidden()
void unitIsShowing()
void unitIsHiding()
Copyright © 2005-2013 Leisenfels UG (haftungsbeschränkt). All rights reserved.