Package xal.ca.view

Class ChannelNameDocument

All Implemented Interfaces:
Serializable, Document

public class ChannelNameDocument extends PlainDocument
ChannelNameDocument is a javax.swing.text.Document implementation useful for filtering out invalid characters of a channel name. For example channel names cannot have spaces or non-printing characters. This is useful when implementing intelligent text fields that allow a user to enter a channel name. Invalid characters are thrown away and a system beep warning is heard in its place.
Author:
tap
See Also:
  • Constructor Details

    • ChannelNameDocument

      public ChannelNameDocument()
  • Method Details