Class ByteMonitorWidget


  • public class ByteMonitorWidget
    extends PVWidget
    Widget that displays the bits in an Integer or Long Integer value as a set of LEDs
    • Field Detail

      • WIDGET_DESCRIPTOR

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

        public static final org.csstudio.display.builder.model.WidgetPropertyDescriptor<java.lang.Integer> propStartBit
        'start bit' property: Number of first (smallest) bit
      • propNumBits

        public static final org.csstudio.display.builder.model.WidgetPropertyDescriptor<java.lang.Integer> propNumBits
        'num. bits' property: Bit number in the integer to start displaying.
      • propBitReverse

        public static final org.csstudio.display.builder.model.WidgetPropertyDescriptor<java.lang.Boolean> propBitReverse
        'bit reverse' property: Reverse the direction that bits are displayed; if no, the start bit (the smallest bit) is on right or bottom.
    • Constructor Detail

      • ByteMonitorWidget

        public ByteMonitorWidget()
    • 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
      • propOffColor

        public WidgetProperty<org.csstudio.display.builder.model.properties.WidgetColor> propOffColor()
        Returns:
        'off_color' property
      • propOnColor

        public WidgetProperty<org.csstudio.display.builder.model.properties.WidgetColor> propOnColor()
        Returns:
        'on_color' property
      • propStartBit

        public WidgetProperty<java.lang.Integer> propStartBit()
        Returns:
        'startBit' property
      • propNumBits

        public WidgetProperty<java.lang.Integer> propNumBits()
        Returns:
        'numBits' property
      • propBitReverse

        public WidgetProperty<java.lang.Boolean> propBitReverse()
        Returns:
        'bitReverse' property
      • propHorizontal

        public WidgetProperty<java.lang.Boolean> propHorizontal()
        Returns:
        'horizontal' property
      • propSquare

        public WidgetProperty<java.lang.Boolean> propSquare()
        Returns:
        'square' property
      • propForegroundColor

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

        public WidgetProperty<org.csstudio.display.builder.model.properties.WidgetFont> propFont()
        Returns:
        'font' property
      • propLabels

        public org.csstudio.display.builder.model.ArrayWidgetProperty<org.csstudio.display.builder.model.properties.StringWidgetProperty> propLabels()
        Returns:
        'labels' property