Class HubView

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class HubView extends JPanel
Component displaying a list of SAMP Clients, usually those registered with a hub.
Since:
16 Jul 2008
Author:
Mark Taylor
See Also:
  • Constructor Details

    • HubView

      public HubView(boolean hubLike)
      Constructor.
      Parameters:
      hubLike - true if this will be displaying clients implementing the HubClient interface
  • Method Details

    • setClientListModel

      public void setClientListModel(ListModel clientModel)
      Sets the client list model which is displayed in this component.
      Parameters:
      clientModel - list model whose elements are Clients
    • getClientList

      public JList getClientList()
      Returns the JList component which houses the active list of clients. This can be manipulated to, for instance, customise the renderer if required. Its model should not be set directly however; use the setClientListModel(javax.swing.ListModel) method.
      Returns:
      client JList