Search Results for

    Show / Hide Table of Contents

    Class SmartPropertyInteger

    Defines a smart property class which can hold int value

    Inheritance
    Object
    SmartPropertyInteger
    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 SmartPropertyInteger

    Constructors

    SmartPropertyInteger()

    Creates a new instance of SmartPropertyInteger class

    Declaration
    public SmartPropertyInteger()

    SmartPropertyInteger(int defaultValue)

    Creates a new instance of SmartPropertyInteger class

    Declaration
    public SmartPropertyInteger(int defaultValue)
    Parameters
    Type Name Description
    int 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 int getValue()
    Returns
    Type Description
    int

    The current value of this property

    hashCode()

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

    onPropertyChanged(int oldValue, int newValue)

    Called when property value is changed

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

    The old value

    int newValue

    The new value

    setStrongValue(int newValue)

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

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

    The new value for property

    setWeakValue(int newValue)

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

    Declaration
    public final void setWeakValue(int newValue)
    Parameters
    Type Name Description
    int 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