Interface PVButton

All Superinterfaces:
PVComponent
All Known Implementing Classes:
PVButtonAWT, PVButtonSwing

public interface PVButton
extends PVComponent
com.didkovsky.portview is a Java package for creating UI components in either Swing or AWT (switchable depending on PortView.getViewFactory()) PVButton is an interface for a Button component that can be either AWT or Swing depending on ViewFactory
Author:
Nick Didkovsky, (c) 2004 All rights reserved, Email: nick@didkovsky.com
  • Method Details

    • addActionListener

      void addActionListener​(java.awt.event.ActionListener listener)
    • setBackground

      void setBackground​(java.awt.Color color)
      Specified by:
      setBackground in interface PVComponent
    • setLabel

      void setLabel​(java.lang.String text)
    • getLabel

      java.lang.String getLabel()
    • setFont

      void setFont​(java.awt.Font font)
      Specified by:
      setFont in interface PVComponent
    • setEnabled

      void setEnabled​(boolean b)
      Specified by:
      setEnabled in interface PVComponent
    • requestFocus

      void requestFocus()
    • setVisible

      void setVisible​(boolean b)