Package ca.phon.ui

Class JFileLabel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants

public class JFileLabel extends JLabel
Displays a file path as just the name or a shortened string.
See Also:
  • Constructor Details

    • JFileLabel

      public JFileLabel()
  • Method Details

    • setFile

      public void setFile(File f)
    • getFile

      public File getFile()
    • setShowNameOnly

      public void setShowNameOnly(boolean showNameOnly)
    • isShowNameOnly

      public boolean isShowNameOnly()
    • setMaxChars

      public void setMaxChars(int v)
    • getMaxChars

      public int getMaxChars()