org.ungoverned.oscar.installer.property
Class BooleanPropertyImpl

java.lang.Object
  extended by org.ungoverned.oscar.installer.property.BooleanPropertyImpl
All Implemented Interfaces:
BooleanProperty, Property

public class BooleanPropertyImpl
extends java.lang.Object
implements BooleanProperty


Constructor Summary
BooleanPropertyImpl(java.lang.String name, boolean value)
           
 
Method Summary
 boolean getBooleanValue()
           
 javax.swing.JComponent getEditor()
           
 java.lang.String getName()
           
 void setBooleanValue(boolean b)
           
 void setEditor(javax.swing.JComponent comp)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanPropertyImpl

public BooleanPropertyImpl(java.lang.String name,
                           boolean value)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Property

getBooleanValue

public boolean getBooleanValue()
Specified by:
getBooleanValue in interface BooleanProperty

setBooleanValue

public void setBooleanValue(boolean b)
Specified by:
setBooleanValue in interface BooleanProperty

getEditor

public javax.swing.JComponent getEditor()
Specified by:
getEditor in interface Property

setEditor

public void setEditor(javax.swing.JComponent comp)
Specified by:
setEditor in interface Property

toString

public java.lang.String toString()
Specified by:
toString in interface Property
Overrides:
toString in class java.lang.Object