Class StripchartWidget


  • public class StripchartWidget
    extends VisibleWidget
    Widget that displays X/Y waveforms
    • Field Detail

      • WIDGET_DESCRIPTOR

        public static final org.csstudio.display.builder.model.WidgetDescriptor WIDGET_DESCRIPTOR
        Widget descriptor
      • propTimeRange

        public static final org.csstudio.display.builder.model.WidgetPropertyDescriptor<java.lang.String> propTimeRange
      • propLabelFont

        public static final org.csstudio.display.builder.model.WidgetPropertyDescriptor<org.csstudio.display.builder.model.properties.WidgetFont> propLabelFont
    • Constructor Detail

      • StripchartWidget

        public StripchartWidget()
    • Method Detail

      • getConfigurator

        public org.csstudio.display.builder.model.WidgetConfigurator getConfigurator​(org.csstudio.display.builder.model.Version persisted_version)
                                                                              throws java.lang.Exception
        Description copied from class: Widget
        Obtain configurator.

        While typically using the default WidgetConfigurator, widget may provide a different configurator for reading older persisted date.

        Overrides:
        getConfigurator in class Widget
        Parameters:
        persisted_version - Version of the persisted data.
        Returns:
        Widget configurator for that version
        Throws:
        java.lang.Exception - if persisted version cannot be handled
      • getProperty

        public WidgetProperty<?> getProperty​(java.lang.String name)
        Description copied from class: Widget
        Get widget property.

        Meant for rules, scripts and similar code which does not know the exact widget type and thus fetches properties by name.

        Supports access to complex properties by path name, for example "y_axes[1].minimum" to get the minimum property of the second Y axis of a plot.

        To allow use of legacy scripts and rules, the widget implementation may override to handle deprecated property names.

        Caller presumes that the widget actually has the requested property, otherwise throwing Exception.

        Overrides:
        getProperty in class Widget
        Parameters:
        name - Property name
        Returns:
        WidgetProperty
        See Also:
        Widget.checkProperty(String)
      • propBackground

        public WidgetProperty<org.csstudio.display.builder.model.properties.WidgetColor> propBackground()
        Returns:
        'background_color' property
      • propForeground

        public WidgetProperty<org.csstudio.display.builder.model.properties.WidgetColor> propForeground()
        Returns:
        'foreground_color' property
      • propGrid

        public WidgetProperty<java.lang.Boolean> propGrid()
        Returns:
        'show_grid' property
      • propTitle

        public WidgetProperty<java.lang.String> propTitle()
        Returns:
        'title' property
      • propTitleFont

        public WidgetProperty<org.csstudio.display.builder.model.properties.WidgetFont> propTitleFont()
        Returns:
        'title_font' property
      • propLabelFont

        public WidgetProperty<org.csstudio.display.builder.model.properties.WidgetFont> propLabelFont()
        Returns:
        'label_font' property
      • propScaleFont

        public WidgetProperty<org.csstudio.display.builder.model.properties.WidgetFont> propScaleFont()
        Returns:
        'scale_font' property
      • propToolbar

        public WidgetProperty<java.lang.Boolean> propToolbar()
        Returns:
        'show_toolbar' property
      • propLegend

        public WidgetProperty<java.lang.Boolean> propLegend()
        Returns:
        'show_legend' property
      • propTimeRange

        public WidgetProperty<java.lang.String> propTimeRange()
        Returns:
        'time_range' property
      • runtimePropConfigure

        public org.csstudio.display.builder.model.properties.RuntimeEventProperty runtimePropConfigure()
        Returns:
        'configure' property
      • runtimePropOpenDataBrowser

        public org.csstudio.display.builder.model.properties.RuntimeEventProperty runtimePropOpenDataBrowser()
        Returns:
        'open_full' property