|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.gadgets.dashboard.spi.changes.AddGadgetChange
public final class AddGadgetChange
Details of adding a gadget to a dashboard. If this add operation is inserting a gadget to the beginning or middle
of a column, it is the DashboardStateStore
implementation's responsibility to properly update the positions
of the gadgets that come after the added gadget.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.gadgets.dashboard.spi.changes.DashboardChange |
---|
DashboardChange.Visitor |
Constructor Summary | |
---|---|
AddGadgetChange(GadgetState state,
DashboardState.ColumnIndex columnIndex,
int rowIndex)
|
Method Summary | |
---|---|
void |
accept(DashboardChange.Visitor visitor)
Invokes the Visitor s Visitor#visit(AddGadgetChange) method. |
DashboardState.ColumnIndex |
getColumnIndex()
Get the index of the column where the gadget is being added |
int |
getRowIndex()
Get the index of the row where the gadget is being added |
GadgetState |
getState()
Get the state of the gadget being added |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AddGadgetChange(GadgetState state, DashboardState.ColumnIndex columnIndex, int rowIndex)
Method Detail |
---|
public void accept(DashboardChange.Visitor visitor)
Visitor
s Visitor#visit(AddGadgetChange)
method.
accept
in interface DashboardChange
visitor
- Visitor
to invoke the specific visit
method on.public GadgetState getState()
public DashboardState.ColumnIndex getColumnIndex()
public int getRowIndex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |