public class LazyLayoutServerRpcImpl extends Object implements LazyLayoutServerRpc
LazyLayoutServerRpc
that hosts code common to the two implementations.Constructor and Description |
---|
LazyLayoutServerRpcImpl(LazyLayout.DataProviderKeyMapper mapper,
LazyLayoutClientRpc clientRpc,
LazyLayout lazyLayout) |
Modifier and Type | Method and Description |
---|---|
void |
loadElements(int startFrom,
int length,
int cachedFirst,
int cachedLast) |
void |
onElementDoubleClicked(int index) |
void |
onElementRightClicked(int index,
int clickX,
int clickY) |
void |
onElementsSelected(int index,
boolean isMetaKeyPressed,
boolean isShiftKeyPressed) |
void |
setScaleRatio(float ratio) |
void |
updateOffset(int currentElementOffset) |
public LazyLayoutServerRpcImpl(LazyLayout.DataProviderKeyMapper mapper, LazyLayoutClientRpc clientRpc, LazyLayout lazyLayout)
public void loadElements(int startFrom, int length, int cachedFirst, int cachedLast)
loadElements
in interface LazyLayoutServerRpc
public void onElementsSelected(int index, boolean isMetaKeyPressed, boolean isShiftKeyPressed)
onElementsSelected
in interface LazyLayoutServerRpc
public void onElementDoubleClicked(int index)
onElementDoubleClicked
in interface LazyLayoutServerRpc
public void onElementRightClicked(int index, int clickX, int clickY)
onElementRightClicked
in interface LazyLayoutServerRpc
public void updateOffset(int currentElementOffset)
updateOffset
in interface LazyLayoutServerRpc
public void setScaleRatio(float ratio)
setScaleRatio
in interface LazyLayoutServerRpc
Copyright © 2020 Magnolia International Ltd.. All rights reserved.