public interface ISelectorFactory
Selector
Modifier and Type | Interface and Description |
---|---|
static class |
ISelectorFactory.SelectorID
An enumerator, used to identify those selectors that are directly
supported by the framework.
|
Modifier and Type | Method and Description |
---|---|
Selector |
createSelector(AbstractGanttChart ganttChart,
JComponent parentComponent,
ISelectorFactory.SelectorID id)
Creates a new selector for the given Gantt chart and the given selector
type.
|
Selector |
createSelector(IGridComponent gridComponent,
JComponent parentComponent,
ISelectorFactory.SelectorID id)
Creates a new selector for the given
IGridComponent instance and
the given selector type. |
Selector |
createSelector(LayerContainer layerContainer,
JComponent parentComponent,
ISelectorFactory.SelectorID id)
Creates a new selector for the given
LayerContainer and the given
selector type. |
Selector createSelector(AbstractGanttChart ganttChart, JComponent parentComponent, ISelectorFactory.SelectorID id)
ganttChart
- the Gantt chart where the selector will be usedparentComponent
- the parent component to which the selector will be boundid
- the id of the selectorSelector createSelector(LayerContainer layerContainer, JComponent parentComponent, ISelectorFactory.SelectorID id)
LayerContainer
and the given
selector type. Selectors are always bound to a parent component, which
gets also passed to this factory method.layerContainer
- the layer container where the selector will be usedparentComponent
- the parent component to which the selector will be boundid
- the id of the selectorSelector createSelector(IGridComponent gridComponent, JComponent parentComponent, ISelectorFactory.SelectorID id)
IGridComponent
instance and
the given selector type. Selectors are always bound to a parent
component, which gets also passed to this factory method.gridComponent
- the grid component where the selector will be usedparentComponent
- the parent component to which the selector will be boundid
- the id of the selectorCopyright © 2006–2016 Dirk Lemmermann Software & Consulting. All rights reserved.