|
Sweet Home 3D 4.0 | |||||||||
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. |
String |
getHighlightedText()
Returns the highlighted text. |
HelpView |
getView()
Returns the view associated with this controller. |
protected boolean |
isBrowserPage(URL page)
Returns true if the given page should be displayed
by the system browser rather than by the help view. |
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. |
void |
setHighlightedText(String highlightedText)
Sets the highlighted text. |
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 Controller
public 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 setHighlightedText(String highlightedText)
public String getHighlightedText()
public void showPrevious()
public void showNext()
public void showPage(URL page)
page
.
protected boolean isBrowserPage(URL page)
true
if the given page
should be displayed
by the system browser rather than by the help view.
By default, it returns true
if the page
protocol is http or https.
public void search(String searchedText)
searchedText
in help documents and displays
the result.
|
Sweet Home 3D 4.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
© Copyrights 2006-2013 eTeks - All rights reserved
Distributed under GNU General Public License |