Class PropertyViewer

All Implemented Interfaces:
ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible

public class PropertyViewer extends JPanel implements PropertyChangeListener
Author:
root
See Also:
  • Field Details

    • model

      protected fr.esrf.tangoatk.core.Property model
    • inputForeground

      protected Color inputForeground
    • inputBackground

      protected Color inputBackground
  • Constructor Details

    • PropertyViewer

      public PropertyViewer()
      Creates new form AProperty
  • Method Details

    • propertyChange

      public void propertyChange(PropertyChangeEvent evt)
      Specified by:
      propertyChange in interface PropertyChangeListener
    • setValueMaximumLength

      public void setValueMaximumLength(int characters)
    • getValueMaximumLength

      public int getValueMaximumLength()
    • setTypeGMaximumLength

      public void setTypeGMaximumLength(int characters)
    • getTypeMaximumLength

      public int getTypeMaximumLength()
    • setBorderVisible

      public void setBorderVisible(boolean isVisible)
    • setBorder

      public void setBorder(Border border)
      Overrides:
      setBorder in class JComponent
    • getBorder

      public Border getBorder()
      Overrides:
      getBorder in class JComponent
    • isBorderVisible

      public boolean isBorderVisible()
    • setFont

      public void setFont(Font f)
      Overrides:
      setFont in class JComponent
    • labelType

      protected void labelType(String s)
    • setValue

      public void setValue(String s)
    • getValue

      public String getValue()
    • setLabelVisible

      public void setLabelVisible(boolean b)
    • isLabelVisible

      public boolean isLabelVisible()
    • getLabelWidth

      public double getLabelWidth()
    • setLabelWidth

      public void setLabelWidth(double width)
    • getValueWidth

      public double getValueWidth()
    • setValueWidth

      public void setValueWidth(double i)
    • setValueHorizontalAlignment

      public void setValueHorizontalAlignment(int alignment)
    • getValueHorizontalAlignment

      public int getValueHorizontalAlignment()
    • setModel

      public void setModel(fr.esrf.tangoatk.core.Property p)
    • getModel

      public fr.esrf.tangoatk.core.Property getModel()
    • setForeground

      public void setForeground(Color color)
      Overrides:
      setForeground in class JComponent
    • setBackground

      public void setBackground(Color color)
      Overrides:
      setBackground in class JComponent
    • setEditable

      public void setEditable(boolean b)
    • setOpaque

      public void setOpaque(boolean isOpaque)
      Overrides:
      setOpaque in class JComponent
    • isOpaque

      public boolean isOpaque()
      Overrides:
      isOpaque in class JComponent
    • isEditable

      public boolean isEditable()