org.virion.jam.controlpanels
Class Controls

java.lang.Object
  extended by org.virion.jam.controlpanels.Controls

public class Controls
extends Object

Author:
Andrew Rambaut

Constructor Summary
Controls(String title, JPanel panel, boolean isVisible)
           
Controls(String title, JPanel panel, boolean isVisible, boolean isPinned, JCheckBox primaryCheckbox)
           
 
Method Summary
 JPanel getPanel()
           
 JCheckBox getPrimaryCheckbox()
           
 String getTitle()
           
 boolean isPinned()
           
 boolean isVisible()
           
 void setPinned(boolean pinned)
           
 void setVisible(boolean visible)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Controls

public Controls(String title,
                JPanel panel,
                boolean isVisible)

Controls

public Controls(String title,
                JPanel panel,
                boolean isVisible,
                boolean isPinned,
                JCheckBox primaryCheckbox)
Parameters:
title -
panel -
isVisible -
isPinned -
primaryCheckbox - the "main" on/off toggle, if any.
Method Detail

getTitle

public String getTitle()

getPanel

public JPanel getPanel()

isVisible

public boolean isVisible()

setVisible

public void setVisible(boolean visible)

isPinned

public boolean isPinned()

setPinned

public void setPinned(boolean pinned)

getPrimaryCheckbox

public JCheckBox getPrimaryCheckbox()