public class IlvChartAreaSynchronizer extends Object implements Serializable
IlvChart.synchronizeAxis(IlvChart, int, boolean)
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
HORIZONTAL
The type to synchronize horizontal margins
|
static int |
VERTICAL
The type to synchronize vertical margins
|
Constructor and Description |
---|
IlvChartAreaSynchronizer(int type)
Creates a new
IlvChartAreaSynchronizer object of the specified
type. |
Modifier and Type | Method and Description |
---|---|
IlvChart |
getChart()
Returns the synchronized chart.
|
Component |
getTargetComponent()
Returns the target component.
|
void |
plug(IlvChart chart,
Component targetComp)
Synchronizes the specified chart with the specified target component.
|
static void |
synchronize(IlvChart chart,
Component targetComponent)
Synchronizes the horizontal margins of the chart area of the specified
chart with the specified component.
|
static void |
synchronize(IlvChart chart,
Component targetComponent,
IlvChartAreaSynchronizer sync)
Synchronizes the specified chart with the specified component, using the
provided synchronizer.
|
void |
unplug()
Ends the current synchronization.
|
static IlvChartAreaSynchronizer |
unSynchronize(IlvChart chart)
Unsynchronizes the specified chart.
|
public static final int HORIZONTAL
public static final int VERTICAL
public IlvChartAreaSynchronizer(int type)
IlvChartAreaSynchronizer
object of the specified
type.type
- The margins to synchronize.VERTICAL
,
HORIZONTAL
public final IlvChart getChart()
public final Component getTargetComponent()
public void plug(IlvChart chart, Component targetComp)
public void unplug()
public static void synchronize(IlvChart chart, Component targetComponent)
IlvChartAreaSynchronizer
instance of the
HORIZONTAL
type.public static void synchronize(IlvChart chart, Component targetComponent, IlvChartAreaSynchronizer sync)
public static IlvChartAreaSynchronizer unSynchronize(IlvChart chart)
synchronize(IlvChart, Component)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.