com.atlassian.gadgets.dashboard.internal.impl
Class TabImpl

java.lang.Object
  extended by com.atlassian.gadgets.dashboard.internal.impl.TabImpl
All Implemented Interfaces:
Tab

public class TabImpl
extends Object
implements Tab


Constructor Summary
TabImpl(DashboardTab tab, boolean writable)
           
 
Method Summary
 DashboardId getDashboardId()
           
 URI getTabUri()
           
 String getTitle()
           
 boolean isWritable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabImpl

public TabImpl(DashboardTab tab,
               boolean writable)
Method Detail

getDashboardId

public DashboardId getDashboardId()
Specified by:
getDashboardId in interface Tab
Returns:
The id for the dashboard this tab represents

getTitle

public String getTitle()
Specified by:
getTitle in interface Tab
Returns:
The title of this tab

getTabUri

public URI getTabUri()
Specified by:
getTabUri in interface Tab
Returns:
The url to navigate to when clicking this tab

isWritable

public boolean isWritable()
Specified by:
isWritable in interface Tab
Returns:
true if the current user has write permission for the tab this dashbaord represents


Copyright © 2011 Atlassian. All Rights Reserved.