public class MacSimpleGranularitySelectorFactory extends SimpleGranularitySelectorFactory
ISelectorFactory.SelectorID
Constructor and Description |
---|
MacSimpleGranularitySelectorFactory() |
Modifier and Type | Method and Description |
---|---|
Selector |
createSelector(AbstractGanttChart gc,
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. |
getInstance
public Selector createSelector(AbstractGanttChart gc, JComponent parentComponent, ISelectorFactory.SelectorID id)
ISelectorFactory
createSelector
in interface ISelectorFactory
createSelector
in class SimpleGranularitySelectorFactory
gc
- the Gantt chart where the selector will be usedparentComponent
- the parent component to which the selector will be boundid
- the id of the selectorpublic Selector createSelector(IGridComponent gridComponent, JComponent parentComponent, ISelectorFactory.SelectorID id)
ISelectorFactory
IGridComponent
instance and
the given selector type. Selectors are always bound to a parent
component, which gets also passed to this factory method.createSelector
in interface ISelectorFactory
createSelector
in class SimpleGranularitySelectorFactory
gridComponent
- the grid component where the selector will be usedparentComponent
- the parent component to which the selector will be boundid
- the id of the selectorpublic Selector createSelector(LayerContainer layerContainer, JComponent parentComponent, ISelectorFactory.SelectorID id)
ISelectorFactory
LayerContainer
and the given
selector type. Selectors are always bound to a parent component, which
gets also passed to this factory method.createSelector
in interface ISelectorFactory
createSelector
in class SimpleGranularitySelectorFactory
layerContainer
- the layer container 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.