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. |
getInstancepublic Selector createSelector(AbstractGanttChart gc, JComponent parentComponent, ISelectorFactory.SelectorID id)
ISelectorFactorycreateSelector in interface ISelectorFactorycreateSelector in class SimpleGranularitySelectorFactorygc - 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)
ISelectorFactoryIGridComponent 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 ISelectorFactorycreateSelector in class SimpleGranularitySelectorFactorygridComponent - 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)
ISelectorFactoryLayerContainer and the given
selector type. Selectors are always bound to a parent component, which
gets also passed to this factory method.createSelector in interface ISelectorFactorycreateSelector in class SimpleGranularitySelectorFactorylayerContainer - 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–2020 Dirk Lemmermann Software & Consulting. All rights reserved.