java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JLabel
org.graffiti.plugins.attributecomponents.simplelabel.ViewLabel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants

public class ViewLabel
extends JLabel
See Also:
Serialized Form
  • Constructor Details

    • ViewLabel

      public ViewLabel​(String labelText, LabelFrameSetting frame, double strokeWidth, boolean isDrop, boolean usesDrop, Color borderColor)
  • Method Details

    • setDefaultTextPositioning

      public void setDefaultTextPositioning()
    • paint

      public void paint​(Graphics g)
      Overrides:
      paint in class JComponent
    • getText

      public String getText()
      Overrides:
      getText in class JLabel
    • getPreferredSize

      public Dimension getPreferredSize()
      Overrides:
      getPreferredSize in class JComponent
    • setShadowColor

      public void setShadowColor​(Color shadowColor)
    • setShadowOffset

      public void setShadowOffset​(int offx, int offy)
    • setShow

      public void setShow​(boolean mouseoverActivated)
    • highlight

      public void highlight​(boolean highlight)
    • getFrame

      public LabelFrameSetting getFrame()
    • setFrame

      public void setFrame​(LabelFrameSetting frame)
    • getStrokeWidth

      public double getStrokeWidth()
    • setStrokeWidth

      public void setStrokeWidth​(double strokeWidth)
    • isHighlight

      public boolean isHighlight()
    • setHighlight

      public void setHighlight​(boolean highlight)
    • getShadowColor

      public Color getShadowColor()
    • getBorderColor

      public Color getBorderColor()
    • setBorderColor

      public void setBorderColor​(Color borderColor)