Search Results for

    Show / Hide Table of Contents

    Class SmartPropertyBoolean

    Defines a smart property class which can hold boolean value

    Inheritance
    Object
    SmartPropertyBoolean
    Inherited Members
    Object.clone()
    Object.equals(Object)
    Object.finalize()
    Object.getClass()
    Object.hashCode()
    Object.notify()
    Object.notifyAll()
    Object.toString()
    Object.wait()
    Object.wait(long)
    Object.wait(long,int)
    Namespace:
    Assembly: .dll
    Syntax
    public class SmartPropertyBoolean

    Constructors

    SmartPropertyBoolean()

    Creates a new instance of SmartPropertyBoolean class

    Declaration
    public SmartPropertyBoolean()

    SmartPropertyBoolean(boolean defaultValue)

    Creates a new instance of SmartPropertyBoolean class

    Declaration
    public SmartPropertyBoolean(boolean defaultValue)
    Parameters
    Type Name Description
    boolean defaultValue

    The default value for property

    Methods

    equals(Object o)

    Declaration
    public boolean equals(Object o)
    Parameters
    Type Name Description
    Object o
    Returns
    Type Description
    boolean
    Overrides
    Object.equals(Object)

    getValue()

    Gets the current property value

    Declaration
    public final boolean getValue()
    Returns
    Type Description
    boolean

    The current value of this property

    hashCode()

    Declaration
    public int hashCode()
    Returns
    Type Description
    int
    Overrides
    Object.hashCode()

    onPropertyChanged(boolean oldValue, boolean newValue)

    Called when property value is changed

    Declaration
    protected void onPropertyChanged(boolean oldValue, boolean newValue)
    Parameters
    Type Name Description
    boolean oldValue

    The old value

    boolean newValue

    The new value

    setStrongValue(boolean newValue)

    Sets weak value for this property which overrides any previously set value

    Declaration
    public final void setStrongValue(boolean newValue)
    Parameters
    Type Name Description
    boolean newValue

    The new value for property

    setWeakValue(boolean newValue)

    Sets weak value for this property if it was not overridden by SmartProperty#setStrongValue(Object) call

    Declaration
    public final void setWeakValue(boolean newValue)
    Parameters
    Type Name Description
    boolean newValue

    The new value for property

    toString()

    Declaration
    public String toString()
    Returns
    Type Description
    String
    Overrides
    Object.toString()
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml