com.atlassian.gadgets.dashboard.spi.changes
Class UpdateLayoutChange

java.lang.Object
  extended by com.atlassian.gadgets.dashboard.spi.changes.UpdateLayoutChange
All Implemented Interfaces:
DashboardChange

public final class UpdateLayoutChange
extends Object
implements DashboardChange

Details of updating the layout of a dashboard.

Since:
2.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.gadgets.dashboard.spi.changes.DashboardChange
DashboardChange.Visitor
 
Constructor Summary
UpdateLayoutChange(com.atlassian.gadgets.dashboard.Layout layout, GadgetLayout gadgetLayout)
           
 
Method Summary
 void accept(DashboardChange.Visitor visitor)
          Invokes the Visitors Visitor#visit(UpdateLayoutChange) method.
 GadgetLayout getGadgetLayout()
          Get the layout of all the Gadgets on the dashboard
 com.atlassian.gadgets.dashboard.Layout getLayout()
          Get the Layout type, e.g.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateLayoutChange

public UpdateLayoutChange(com.atlassian.gadgets.dashboard.Layout layout,
                          GadgetLayout gadgetLayout)
Method Detail

accept

public void accept(DashboardChange.Visitor visitor)
Invokes the Visitors Visitor#visit(UpdateLayoutChange) method.

Specified by:
accept in interface DashboardChange
Parameters:
visitor - Visitor to invoke the specific visit method on.

getLayout

public com.atlassian.gadgets.dashboard.Layout getLayout()
Get the Layout type, e.g. three column

Returns:
the layout

getGadgetLayout

public GadgetLayout getGadgetLayout()
Get the layout of all the Gadgets on the dashboard

Returns:
the layout of all the Gadgets on the dashboard


Copyright © 2013 Atlassian. All Rights Reserved.