|
Sweet Home 3D 2.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eteks.sweethome3d.viewcontroller.HelpController
public class HelpController
A MVC controller for Sweet Home 3D help view.
| Nested Class Summary | |
|---|---|
static class |
HelpController.Property
The properties that may be edited by the view associated to this controller. |
| Constructor Summary | |
|---|---|
HelpController(UserPreferences preferences,
ViewFactory viewFactory)
|
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(HelpController.Property property,
PropertyChangeListener listener)
Adds the property change listener in parameter to this controller. |
void |
displayView()
Displays the help view controlled by this controller. |
URL |
getBrowserPage()
Returns the browser page. |
URL |
getHelpPage()
Returns the current page. |
HelpView |
getView()
Returns the view associated with this controller. |
boolean |
isNextPageEnabled()
Returns whether a next page is available or not. |
boolean |
isPreviousPageEnabled()
Returns whether a previous page is available or not. |
void |
removePropertyChangeListener(HelpController.Property property,
PropertyChangeListener listener)
Removes the property change listener in parameter from this controller. |
void |
search(String searchedText)
Searches searchedText in help documents and displays
the result. |
List<com.eteks.sweethome3d.viewcontroller.HelpController.HelpDocument> |
searchInHelpDocuments(URL helpIndex,
String[] searchedWords)
Searches searchedWords in help documents and returns
the list of matching documents sorted from the most relevant to the least relevant. |
void |
showNext()
Controls the display of next page. |
void |
showPage(URL page)
Controls the display of the given page. |
void |
showPrevious()
Controls the display of previous page. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HelpController(UserPreferences preferences,
ViewFactory viewFactory)
| Method Detail |
|---|
public HelpView getView()
getView in interface Controllerpublic void displayView()
public void addPropertyChangeListener(HelpController.Property property,
PropertyChangeListener listener)
listener in parameter to this controller.
public void removePropertyChangeListener(HelpController.Property property,
PropertyChangeListener listener)
listener in parameter from this controller.
public URL getHelpPage()
public URL getBrowserPage()
public boolean isPreviousPageEnabled()
public boolean isNextPageEnabled()
public void showPrevious()
public void showNext()
public void showPage(URL page)
page.
public void search(String searchedText)
searchedText in help documents and displays
the result.
public List<com.eteks.sweethome3d.viewcontroller.HelpController.HelpDocument> searchInHelpDocuments(URL helpIndex,
String[] searchedWords)
searchedWords in help documents and returns
the list of matching documents sorted from the most relevant to the least relevant.
This method uses some Swing classes for their HTML parsing capabilities
and not to create components.
|
Sweet Home 3D 2.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
![]() |
© Copyrights 2006-2010 eTeks - All rights reserved
Distributed under GNU General Public License |