- java.lang.Object
-
- com.flexganttfx.extras.properties.ItemFactory
-
public class ItemFactory extends Object
This factory creates property sheet items for a given object. In previous versions of FlexGanttFX these items were returned by the custom controls themselves but since this was more a feature used at evaluation time of the product it did not make sense to keep them in production code. Hence they were refactored to this place.Supported classes / classes with an item provider implementation
- GanttChartBase
- GanttChart
- GraphicsBase
- AgendaLinesLayer
- ChartLinesLayer
- DSTLineLayer
- GridLinesLayer
- HoverTimeIntervalLayer
- InnerLinesLayer
- LayoutLayer
- NowLineLayer
- ScaleLayer
- SelectedTimeIntervalsLayer
- SystemLayer
- ZoomTimeIntervalLayer
- ActivityBarRenderer
- ActivityRendererItemProvider
- CompletableActivityRenderer
- Renderer
-
-
Constructor Summary
Constructors Constructor Description ItemFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.controlsfx.control.PropertySheet.Item>
getItems(Object object)
Returns a list of property sheet items for the given object.
-
-
-
Method Detail
-
getItems
public List<org.controlsfx.control.PropertySheet.Item> getItems(Object object)
Returns a list of property sheet items for the given object. The method will try to find a dedicated item provider based on the class of the object. If none can be found it will utiliseBeanPropertyUtils.getProperties(java.lang.Object)
.- Parameters:
object
- the object for which to return property sheet items- Returns:
- the resulting property sheet items
-
-