Interface IViewportManagerBase
Defines the interface to a ViewportManager, which may be used to intercept the X,Y axis ranging during render and invalidate the parent surface
Implements
Namespace:
Assembly: .dll
Syntax
public interface IViewportManagerBase extends IAttachable
Methods
invalidateParentSurface()
May be called to trigger a redraw on the parent surface
Declaration
public abstract void invalidateParentSurface()
onVisibleRangeChanged(IAxisCore axis, IRange oldRange, IRange newRange, boolean isAnimating)
Called when the VisibleRange changes for an axis. Override in derived types to get a notification of this occurring
Declaration
public abstract void onVisibleRangeChanged(IAxisCore axis, IRange oldRange, IRange newRange, boolean isAnimating)
Parameters
Type | Name | Description |
---|---|---|
IAxisCore | axis | THe axis instance |
IRange | oldRange | The old VisibleRange |
IRange | newRange | The new VisibleRange |
boolean | isAnimating | Flag indicating whether the VisibleRange is animating |
tryPerformAutoRange(IAxisCore axis)
Called during render to perform autoranging. Override in derived types to set a custom value
Declaration
public abstract void tryPerformAutoRange(IAxisCore axis)
Parameters
Type | Name | Description |
---|---|---|
IAxisCore | axis | The IAxis instance to perform autorange on |
updateXAxis(IAxisCore xAxis)
Called during render to update XAxis VisibleRange. Override in derived types to set a custom value
Declaration
public abstract void updateXAxis(IAxisCore xAxis)
Parameters
Type | Name | Description |
---|---|---|
IAxisCore | xAxis | The XAxis to update |
updateYAxis(IAxisCore yAxis)
Called during render to update YAxis VisibleRange. Override in derived types to set a custom value
Declaration
public abstract void updateYAxis(IAxisCore yAxis)
Parameters
Type | Name | Description |
---|---|---|
IAxisCore | yAxis | The YAxis to update |