|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectAbsolutePanel
com.vaadin.client.ui.colorpicker.VColorPickerGrid
public class VColorPickerGrid
Client side implementation for ColorPickerGrid.
| Constructor Summary | |
|---|---|
VColorPickerGrid()
Instantiates the client side component for a color picker grid. |
|
| Method Summary | |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addClickHandler(ClickHandler handler)
|
protected int |
getSelectedX()
Returns currently selected x-coordinate of the grid. |
protected int |
getSelectedY()
Returns currently selected y-coordinate of the grid. |
protected boolean |
isGridLoaded()
Returns true if the colors have been successfully updated at least once, false otherwise. |
void |
onClick(ClickEvent event)
|
protected void |
updateColor(java.lang.String[] changedColor,
java.lang.String[] changedX,
java.lang.String[] changedY)
Updates the changed colors within the grid based on the given x- and y-coordinates. |
protected void |
updateGrid(int rowCount,
int columnCount)
Updates the row and column count and creates a new grid based on them. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VColorPickerGrid()
| Method Detail |
|---|
protected void updateGrid(int rowCount,
int columnCount)
rowCount - columnCount -
protected void updateColor(java.lang.String[] changedColor,
java.lang.String[] changedX,
java.lang.String[] changedY)
changedColor - changedX - changedY - protected int getSelectedX()
protected int getSelectedY()
protected boolean isGridLoaded()
public void onClick(ClickEvent event)
public com.google.gwt.event.shared.HandlerRegistration addClickHandler(ClickHandler handler)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||