com.threerings.antidote.property
Class BooleanProperty
java.lang.Object
com.threerings.antidote.property.BaseProperty<Boolean>
com.threerings.antidote.property.BooleanProperty
- All Implemented Interfaces:
- Mutable, Property<Boolean>, RequiresValidation
public class BooleanProperty
- extends BaseProperty<Boolean>
A BaseProperty
that holds a Boolean
object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanProperty
public BooleanProperty(String name,
Field field)
BooleanProperty
public BooleanProperty(String name,
Field field,
boolean defaultValue)
validateProperty
protected Boolean validateProperty()
- Description copied from class:
BaseProperty
- Give each
Property
a chance to do property specific validation and return the
validated value. If the raw value could not turned into a valid value, this will return null.
- Specified by:
validateProperty
in class BaseProperty<Boolean>
Copyright © 2007-2008 Three Rings Design, Inc.
All Rights Reserved. Released under a BSD license.