What is the point of [Bindable("selectionChange")] in parts of the spark datagrid class?

I dont understand the point of this code in the spark datagrid class:
what is the point of this:
    [Bindable("selectionChange")]
     [Bindable("valueCommit")]
     [Inspectable(category="General", defaultValue="null")]
in
    //  selectedItem
    [Bindable("selectionChange")]
    [Bindable("valueCommit")]
    [Inspectable(category="General", defaultValue="null")]
     *  @copy spark.components.Grid#selectedItem
     *  @default null
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 2.5
     *  @productversion Flex 4.5
    public function get selectedItem():Object
        if (grid)
            return grid.selectedItem;
        return (dataProvider && (selectedIndex > 0)) ?
            dataProvider.getItemAt(selectedIndex) : undefined;
     *  @private
    public function set selectedItem(value:Object):void
        if (grid)
            grid.selectedItem = value;
        else
            var f:Function = function(g:Grid):void
                g.selectedItem = value;
            deferredGridOperations.push(f);

Anything that is binding to selectedItem will go get the value again when either of those events fires.

Similar Messages

  • What is the spark potential of an i pad i want to use one in zone 2 classified area

    I am interested in been able to use the i pad in a classified area example out in the middle of an operating refinery (usually have to carry a gas monitor with you for battery powered equipment)
    We use motorola radios all the time for communications and as they are in a leather pouch they are deemed to be intrinsically safe
    can apple tell me what is the spark potential from an i pad
    has apple ever done any testing on them ?

    That kind of info is not readily available and I'm pretty sure that no iOS device is certifed by Apple to be intrinsically safe.  This does not mean that it's not IS just that it's not been tested or certified by Apple.  You would likely have to do this on your own.
    Here's another thread on the iPad and IS... https://discussions.apple.com/message/13049612?messageID=13049612
    BTW, putting a device in a leather puch does not make it IS.

  • What is the use of class Class

    What is the use of class Class?

    Sample use: if you are specifying the name of a class in a config file, you can use Class method newInstance to instantiate it.:
    String classname = ...
    Runnable r = (Runnable) Class.forName(classname).newInstance();
    r.run();

  • In package /SAPAPO/MAT, what are the /SAPAPO/CL_PR_EEW* classes for?

    General question:
    In package /SAPAPO/MAT, what are the /SAPAPO/CL_PR_EEW* classes for?
    Specific question:
    Assume your client wants to add custom fields to the APO product master and display them on the standard screens displayed by the MATn transactions (e.g. MAT1)
    Will the above EEW "enhancement classes" provide any way to customize the MATn screens (tabs, subscreens or even exits to pop custom screens)?
    If not, then is there anyway to add custom fields to the MAT1 screens without doing a core mod?

    Same question for XMDSER function group, particularly module
    EXIT_SAPMMDUSER_001
    (fires out of screen 100 initial master data maintenance)
    I think this one will probably work, but it maybe a question of "timing", i.e. what customer action fires the PAI routines which ultimately fire the exit.
    If a simple "ENTER" fires the exit, then we're fine.

  • What is the top hierarchical class in abap

    What is the top hierarchical class in abap ? in java we have the class Object, that is on top of all the rest.
    Is there a similar class in ABAP ?
    Thanks

    Hi,
    Well actually there is a difference. In Java 'Object' is an actual class which is the root for all other classes (http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html). While in ABAP 'type ref to object' only means it is a reference to a class instance. An actual root class like Object in Java does not exist.
    Only for exception classes there is  a root: CX_ROOT...
    Regards, Gerd Rother

  • What is the package-visible class?

    I am reading JCVM2.2.1 Spec.
    I don't know what the package-visible class is?
    for example,
    Here is a sentence I could not understand.
    A public class cannot contain a public or protected field of type reference to a package-visible class.
    However, I know a general Access controls such as public, protected and private.
    Help me?
    What is the package-visible class in Java Card?

    There is something called package protected in Java. This means that an object may be accessible thru a package only. Sort of like public with limited visibility.
    Search the Java 2 Tutorial.

  • What is the differene between class diagram and er diagram .....pls ex

    what is the differene between class diagram and er diagram .....pls explain with examples

    <b>Diff btw Class Diagrams and ERD's:</b>
    Class diagrams and ERDs both model the structure of a system. Class diagrams
    represent the dynamic aspects of a system: both the structural and behavioural features.
    ERDs, depicting only structural features provide a static view of the system.
    Elements of a class diagram:
    >class
    >association
    >binary
    >n-ary
    >Aggregation
    >Composition
    >Generalization
    >Dependency
    >Realization
    >Association Classes
    Elements of Entity Relationship Diagrams:
    >Entity - A data attribute is a property common to an entity.
    Check this link
    www.cdf.toronto.edu/~csc340h/summer/tutorials/TutorialClassERD.pdf
    Regards,
    Pavan.

  • Playing with the spark datagrid

    I'm Playing with the spark datagrid and have a column set up like so:
    <GridColumn  width="140" headerText="Margin" headerText.editMode="Margin (editing)" dataField="margin" editable="false"  editable.editMode="true" itemRenderer="gridColumnRenderer" >
               </GridColumn>
    I would like the item render to change colour based on the state of the outerDocuent, is this possible?
    I tried this but can't get to the outerdocument
    <?xml version="1.0" encoding="utf-8"?>
    <s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx"
                    autoDrawBackground="true">
        <s:Label text="{data.margin}" backgroundColor="{   outerDocument.currentState =='editMode'?0xffffff:0xdddddd}"/>
    </s:ItemRenderer>

    I believe you will need to use GridItemRenderer instead of ItemRenderer as your base class for renderers in the spark DataGrid.  Does it work if you change to that?

  • IN MATERIAL MASTER RECORD WHAT IS THE USE OF CLASS TYPE(CLASSIFICATION VIEW

    Hi Guys,
    Can you please explain what are the different critiria to use different class type and what exactly meaning of the each class type with respect to Material classification.
    Any material available on this to study. Please give link.
    Thanks,
    Dhanu

    Hi,
    Purpose
    The classification system allows you to use characteristics to describe all types of objects, and to group similar objects in classes u2013 to classify objects, in other words, so that you can find them more easily later.
    You then use the classes to help you to find objects more easily, using the characteristics defined in them as search criteria. This ensures that you can find objects with similar or identical characteristics as quickly as possible.
    Integration
    The classification system allows you to classify all types of object. First, you must define certain settings in Customizing for the classification system. For more information, see Customizing for the Classification System.
    SAP has predefined a number of object types (for example, materials, and equipment). The settings for these object types have already been defined in Customizing, so you can start to set up your classification system for these object types without defining further settings.
    Features
    Before you can use classification functions, you need to set up your classification system.
    The there are three steps to setting up a classification system:
    Defining the Properties of Objects
    You use characteristics to describe the properties of objects. You create characteristics centrally in the SAP R/3 System.
    See the SAP Library, Characteristics (CA-CL-CHR).
    Creating Classes
    You need classes to classify objects. These classes must be set up. During set up you must assign characteristics to the classes.
    Assigning Objects
    Once you have created the classes you require for classification, you can assign objects to these classes. You use the characteristics of the class to describe the objects you classify.
    This completes the data you require to use your classification system. You can then use your classification system to find objects that match the criteria you require.
    Once you have set up the classification system you can use it to find certain objects. To do this:
    Find a class in which objects are classified
    Find the object(s) you require in the class
    When you use classification to find objects, you use the characteristics as search criteria, and the system compares the values you enter with the values of the classified objects.
    Uts
    Award if helpfull

  • What is the correct Valuation Class?

    Hi,
    Can we find out most appropriate Valuation class by seeing material master data?
    This is for the finished Product. Since due to some integration this product has added, Now we have to suggest Appropriate Valuation class and do configuration for automatic posting.
    So how to suggest correct valuation class for this product?
    Regards,
    Shwetha

    Hi,
    U just find same product which is fall under finish product .
    Use Tcode mm03 go to Accounting tab check valuation class.
    The same valuation class u can take for the new creation of master data of finish product .
    Configure it in integration part in OBYC.
    Here U have to configure transaction key like BSX, WRX,BSA etc.
    Regards
    Pari

  • How to include a custom bkgd in the spark datagrid header

    I have a CustomDatagridSkin.mxml, which is based upon the default DataGrid.
    I'm looking at the code, and I'm a noob, trying to make heads or tails out of it. If I could just figure out how to change the header color I would be happy. But what I'd really like to know is how to apply a graphic to the background of the header.
    Is there some example on the net that I can follow, because I'm having a hell of a time finding something useful.
    The demo that Deepa had was awsome (corkboard and postit notes looking thing).
    How was that done?
    Thanks
    Kristin

    Hi,
    Do you want a custom background for the entire header bar? or for each individual header renderer? I would take a look at the DefaultGridHeaderRenderer class to see how we do headers. These header renderers are used by the GridColumnHeaderGroup to create the column headers. You can modify it to have your own custom background graphic. If you just want to tweak the color, you can apply the chromeColor style to the DataGrid.
    I can try to cook up an example for you when I have a bit of time, but not at the moment. Hope this points you in the right direction.
    -Kevin

  • How to resize the spark datagrid collumns based on the headertext?

    Hi friends,
         I am using spark datagrid for displaying the tablur data in my application, when i setting the dataprovider property of the datagrid, it displays the content exactally what i expeceted.
    but the widht of the collumns are based on the content of the dataprovider, i am not able to see the full collumn name in the datagrid's header. I want to display the full collumn name to the users without setting the collumn width explicitly because the data are dynamically returned from the server. could you pls give me some ideas to acheive this...?
    Thanks in advance.

    Hi Karthikeyan Subramain,
    You can make use of typicalItem proberty to set the column width.
    Here is the link for sample code which uses typicalItem:
    http://butterfliesandbugs.wordpress.com/2011/03/08/its-a-best-practice-to-size-a-spark-dat agrids-columns-with-a-typicalitem/
    Hope this will help you
    Thanks and Best regards,
    Pooja Kuber | [email protected] | www.infocepts.com

  • What means the " E " in class Vector and " T " in class Class?

    Hi world!
    I was searching in the java docs and in the source code of Java and found a syntaxis that I don't know what mean. This:
    public class Vector<E>
        extends AbstractList<E>
        implements List<E>, ...and this:
    public Vector(Collection<? extends E> c)this too:
    public final
        class Class<T> impleme...and that:
      public static Class<?> forName(String className) well you get the idea. If someone could give me where can I find information about the using of this.
    Tanks

    See the generics tutorial:
    http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf

  • Selecting cells and rows in the Spark DataGrid control

    This question was posted in response to the following article: http://help.adobe.com/en_US/flex/using/WS0ab2a460655f2dc3-427f401412c60d04dca-7ff8.html

    "Note: While the selectedCells, selectedIndices, and selectedItems properties are all writable, Adobe recommends that you use methods of the DataGrid to change selection programmatically."
    OK.. So how do I programmatically select multiple items?
    The setSelectedIndex method will only add a single item.
    I have tried to ''push" an index onto the selectedIndicies but that won't work either...
    Please help me.. this is driving me nuts...

  • What is the purpose or functions of these tables?

    Dear Experts,
    Briefly, could you explain what is the purpose or function of these tables:
    1. INOB - link between internal number and object. Is internal number = internal order number? related to project? purpose?
    2. AUSP -  Characteristic values - what characteristics? all? purpose?
    3. CABN - Characteristic : what is the purpose of this table?
    4. KLAH - Class header data : what is purpose of Class ?
    Are these cross-application like MM+SD etc or application area-specific eg MM only?
    Sorry, but i have no strong functional knowledge in these aspects. Please enlighten me.
    Thanks in advance.
    regards
    Bass

    1. INOB - link between internal number and object. Is internal number = internal order number? related to project? purpose?
    It is a linking table for internal number and object for characterstics tables.It is not relate to project.
    2. AUSP - Characteristic values - what characteristics? all? purpose?
    It will show what are the objects in class and internal characterstics.Details it will not show and it shows only numbers
    For e.gSuppose you have provided some values in Characterstics like qty 10,20..and colour ...red ,while..,Sytem will show these details in this table.
    3. CABN - Characteristic : what is the purpose of this table?
    It will show the type of characterstic is this numeric or  character
    4. KLAH - Class header data : what is purpose of Class ?
    This is also linking table.Thease are cross application tables MM+SD +PP as charactersics used in all process.

Maybe you are looking for

  • Webdynpro not working

    When I try to start any webdynpro application I get the following error : Category : /System/UserInterface Message ID : 000D60E5042D0066000000AD00000A7C00040FFAEC278FA0 Severity : Error Location : com.sap.tc.webdynpro.clientserver.cal.ClientManager.h

  • Error mapping, OGG from SQL 2008 to Oracle 11g

    Hi Experts Please I hoppe you can help me, I am using OGG to replicate from SQL 2008 to Oracle 11g R2, I can insert rows and replicate without problems, but when I update or delete on the Source the replicat stop working. This is the mesage: 2012-06-

  • Red static, flashing screen on Apple TV. Brand new

    I have three TV's in my house and the Apple TV is not working on any of them. The only results I get is on one TV, which is a red, static flashing screen vaguely displaying the setup screen. I have tried 5 different cables and a converter box, still

  • Having problem compiling JAXP - SAX example

    I am new to this technology. I am trying to run all the examples which are in JWSDP1.1. Can anybody tell How to solve the following error. C:\jwsdp-1.1\docs\tutorial\examples\jaxp\sax\samples>javac Echo01.java Echo01.java:74: cannot resolve symbol sy

  • How to create a  domain in weblogic?

    can any body pls help me to create a domain in weblogic?