com.tle.web.scripting.advanced.types
Interface NavigationTabScriptType
Declaration: public interface NavigationTabScriptType extends java.io.Serializable
All Superinterfaces: java.io.Serializable

 

NavigationTab in script

 

 

Methods Summary
abstract AttachmentScriptType getAttachment()
    
abstract java.lang.String getDescription()
    
abstract NavigationNodeScriptType getNode()
    
abstract java.lang.String getViewerId()
    
abstract void setDescription(java.lang.String description)
    
abstract void setViewerId(java.lang.String viewerId)
    

 

 

 

 

getNode

 

public abstract NavigationNodeScriptType getNode( )

 

Returns:
The navigation node that this tab is attached to

 

 

 

getDescription

 

public abstract java.lang.String getDescription( )

 

Returns:
Display name for the tab. Not shown if there is only one tab present.

 

 

 

setDescription

 

public abstract void setDescription( java.lang.String description)

 

Parameters:
description-
Display name for the tab. Not shown if there is only one tab present.

 

 

 

getViewerId

 

public abstract java.lang.String getViewerId( )

 

Returns:
The ID of the viewer used to view the attachment on this tab

 

 

 

setViewerId

 

public abstract void setViewerId( java.lang.String viewerId)

 

Parameters:
viewerId-
The ID of the viewer used to view the attachment on this tab. Use a blank string for the default viewer associated with the attachment's MIME type.

 

 

 

getAttachment

 

public abstract AttachmentScriptType getAttachment( )

 

Returns:
The item attachment that this tab will display