com.borland.jbuilder.node
Interface WebViewable

All Known Implementing Classes:
ClassFileNode, HTMLFileNode, JavaFileNode, JspFileNode

public interface WebViewable

Node types implement this interface to indicate that they are potentially viewable from a web server. This allows node viewers to stay hidden until actually needed. For example:

The webViewable property indicates whether the node is actually viewable from the web server. In practice, this means that when you choose to run the file (and the built-in web server is started), the property is set to true. The viewers for the node are then updated so that any Hideable viewers for the node will reveal themselves. Those viewers should check this property in their canShowViewer method to determine if they should be revealed.

See Also:
Hideable, Browser.updateViewers(com.borland.primetime.node.Node)

Inner Class Summary
static interface WebViewable.MaybeServlet
          This interface further identifies .java and .class files that may be servlets.
 
Method Summary
 boolean isWebViewable()
           
 void setWebViewable(boolean isWebViewable)
           
 

Method Detail

setWebViewable

public void setWebViewable(boolean isWebViewable)

isWebViewable

public boolean isWebViewable()