com.pepper.platform.program
Class WebSection

java.lang.Object
  extended by com.pepper.platform.program.Section
      extended by com.pepper.platform.program.WebSection
All Implemented Interfaces:
Serializable

public class WebSection
extends Section

This class represents a WebSection that is capable of browsing and displaying non-Pepper html pages. It has a reference to the viewId of the WebBrowserView that it corresponds to.

See Also:
Serialized Form

Constructor Summary
WebSection(Section parentSection, com.pepper.platform.program.PageMgr pageMgr)
          Creates a new Section instance with the specified parent section and PageMgr
 
Method Summary
 String getCurrentTitle()
          Get the current title of the section
 String getCurrentURL()
           
 boolean isShowingPepperPage()
           
 boolean isWebSection()
          Override from Section so code doesn't need to do instanceof
 void setCurrentTitle(String title)
          Set the title of the section to be used by Keeper on the tab representing this section
 void setCurrentURL(String url)
           
 void setShowingPepperPage(boolean state)
           
 
Methods inherited from class com.pepper.platform.program.Section
addPage, arePagesLoaded, deleteOnClose, getDescription, getIconName, getId, getIsContentSection, getName, getPage, getPages, getParentSection, getSectionPage, getShowDeleteButton, getSync, getTabIndex, getViewId, insertPage, isVisible, saveTombstones, setDeleteOnClose, setDescription, setIconName, setId, setIsContentSection, setName, setPageMgr, setPagesLoaded, setSaveTombstones, setShowDeleteButton, setSync, setTabIndex, setViewId, setVisible, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebSection

public WebSection(Section parentSection,
                  com.pepper.platform.program.PageMgr pageMgr)
Creates a new Section instance with the specified parent section and PageMgr

Parameters:
parentSection - a Section value
Method Detail

isShowingPepperPage

public boolean isShowingPepperPage()

setShowingPepperPage

public void setShowingPepperPage(boolean state)

setCurrentTitle

public void setCurrentTitle(String title)
Set the title of the section to be used by Keeper on the tab representing this section

Parameters:
title - a String value

getCurrentTitle

public String getCurrentTitle()
Get the current title of the section

Returns:
a String value

setCurrentURL

public void setCurrentURL(String url)

getCurrentURL

public String getCurrentURL()

isWebSection

public boolean isWebSection()
Override from Section so code doesn't need to do instanceof

Overrides:
isWebSection in class Section
Returns:
a boolean value


Copyright © 2006-2007 Pepper Computer, Inc. All Rights Reserved.