Class TimeAmountEditor
- java.lang.Object
-
- org.dashbuilder.displayer.client.widgets.filter.TimeAmountEditor
-
- All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget
@Dependent public class TimeAmountEditor extends Object implements com.google.gwt.user.client.ui.IsWidget
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTimeAmountEditor.View
-
Field Summary
Fields Modifier and Type Field Description static List<org.dashbuilder.dataset.group.DateIntervalType>INTERVAL_TYPES
-
Constructor Summary
Constructors Constructor Description TimeAmountEditor(TimeAmountEditor.View view)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gwt.user.client.ui.WidgetasWidget()voidchangeIntervalType()protected voidchangeQuantity(long q)voidchangeQuantity(String value)voiddecreaseQuantity()longgetQuantity()org.dashbuilder.dataset.date.TimeAmountgetTimeAmount()voidincreaseQuantity()voidinit(org.dashbuilder.dataset.date.TimeAmount ta, org.uberfire.mvp.Command onChangeCommand)
-
-
-
Field Detail
-
INTERVAL_TYPES
public static List<org.dashbuilder.dataset.group.DateIntervalType> INTERVAL_TYPES
-
-
Constructor Detail
-
TimeAmountEditor
@Inject public TimeAmountEditor(TimeAmountEditor.View view)
-
-
Method Detail
-
asWidget
public com.google.gwt.user.client.ui.Widget asWidget()
- Specified by:
asWidgetin interfacecom.google.gwt.user.client.ui.IsWidget
-
getTimeAmount
public org.dashbuilder.dataset.date.TimeAmount getTimeAmount()
-
init
public void init(org.dashbuilder.dataset.date.TimeAmount ta, org.uberfire.mvp.Command onChangeCommand)
-
getQuantity
public long getQuantity()
-
decreaseQuantity
public void decreaseQuantity()
-
increaseQuantity
public void increaseQuantity()
-
changeQuantity
public void changeQuantity(String value)
-
changeIntervalType
public void changeIntervalType()
-
changeQuantity
protected void changeQuantity(long q)
-
-