Sha256: 8f505961fd56168002fa11f76b917de5962a30473c3b7e03ff27acd7b24c8225

Contents?: true

Size: 1.5 KB

Versions: 2

Compression:

Stored size: 1.5 KB

Contents

<library>

    <!--- Selection manager used by tree. -->
    <class name="treeselector" extends="selectionmanager">

        <!--- If multiselect is true, multiple selection is enabled.  When the
              shift key is down, a range of items is selected.  When the control
              key is down, any item may be added to the selection. Default is
              false. -->
        <attribute name="multiselect" value="false"/>

        <!--- Check if a range is selected.
              @return Boolean: true if range is being selected, else false. -->
        <method name="isRangeSelect" args="item">
            var allowselect = false;
            if (multiselect) allowselect = super.isRangeSelect(item);
            return allowselect;
        </method>

        <!--- Check if selection is multiselect.
              @return Boolean: true if multiselect is true, else false. -->
        <method name="isMultiSelect" args="item">
            var allowselect = false;
            if (multiselect) allowselect = super.isMultiSelect(item);
            return allowselect;
        </method>
    </class>
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
* Copyright 2001-2004, 2008, 2009 Laszlo Systems, Inc.  All Rights Reserved.              *
* Use is subject to license terms.                                            *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@                                                         -->

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
leftplayer-0.1.1 src/lps-4.9.0/Server/lps-4.9.0/lps/components/base/treeselector.lzx
leftplayer-0.1 src/lps-4.9.0/Server/lps-4.9.0/lps/components/base/treeselector.lzx