com.atlassian.gadgets.dashboard.spi.changes
Class GadgetColorChange
java.lang.Object
com.atlassian.gadgets.dashboard.spi.changes.GadgetColorChange
- All Implemented Interfaces:
- DashboardChange
public final class GadgetColorChange
- extends Object
- implements DashboardChange
Details of changing the color of a gadget on a dashboard.
- Since:
- 2.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GadgetColorChange
public GadgetColorChange(GadgetId gadgetId,
Color color)
accept
public void accept(DashboardChange.Visitor visitor)
- Invokes the
Visitors DashboardChange.Visitor.visit(GadgetColorChange) method.
- Specified by:
accept in interface DashboardChange
- Parameters:
visitor - Visitor to invoke the specific visit method on.
getColor
public Color getColor()
- Get the updated gadget color
- Returns:
- the updated gadget color
getGadgetId
public GadgetId getGadgetId()
- Get the id of the gadget we are changing the color of
- Returns:
- the id of the gadget we are changing the color of
Copyright © 2009 Atlassian. All Rights Reserved.