@Dependent public class TimeAmountEditor extends Object implements com.google.gwt.user.client.ui.IsWidget
Modifier and Type | Class and Description |
---|---|
static interface |
TimeAmountEditor.View |
Modifier and Type | Field and Description |
---|---|
static List<org.dashbuilder.dataset.group.DateIntervalType> |
INTERVAL_TYPES |
Constructor and Description |
---|
TimeAmountEditor(TimeAmountEditor.View view) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.user.client.ui.Widget |
asWidget() |
void |
changeIntervalType() |
protected void |
changeQuantity(long q) |
void |
changeQuantity(String value) |
void |
decreaseQuantity() |
long |
getQuantity() |
org.dashbuilder.dataset.date.TimeAmount |
getTimeAmount() |
void |
increaseQuantity() |
void |
init(org.dashbuilder.dataset.date.TimeAmount ta,
Command onChangeCommand) |
public static List<org.dashbuilder.dataset.group.DateIntervalType> INTERVAL_TYPES
@Inject public TimeAmountEditor(TimeAmountEditor.View view)
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget
in interface com.google.gwt.user.client.ui.IsWidget
public org.dashbuilder.dataset.date.TimeAmount getTimeAmount()
public void init(org.dashbuilder.dataset.date.TimeAmount ta, Command onChangeCommand)
public long getQuantity()
public void decreaseQuantity()
public void increaseQuantity()
public void changeQuantity(String value)
public void changeIntervalType()
protected void changeQuantity(long q)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.