OOP Question

Hoping someone can help. I've been introducing myself to OOP
in Flash and have an issue. I've written a custom PreLoader class
using MovieClipLoader and a Listener object. The code produces a
good result but it seems that I am forced to use _root to reference
properties inside two of my functions. If someone has experience
with this I will send you the files and a bit more explanation. The
class code is attached. Thanks in advance...

Inside callback handlers (example in your class:
listener.onLoadProgress) the class members go out of scope. There
are several ways to solve this. One is to use a local (local to the
function) variable that holds a reference to the current object.
public function PreLoader(target:MovieClip) {
var thisObj:PreLoader=this;
and inside the callback handler access the class members:
thisObj.mcFiller =
Another way is to use the Delegate Class (hit F1 and search
for Delegate). But, in this case where you use the MovieClipLoader
Class you can solve it simply by using the events from the
MovieClipLoader. You use an object as a listener for the events
so... use the current object. See attached class.

Similar Messages

  • A general OOP question

    Hi
    I have a general OOP design question, and am wondering if someone could relate an answer to the following design?
    I have a class called MediaFolderImport(); - it's designed to build a window with various editing tools in it.
    Within it's constructor, I'm calling a bunch of functions to build the window...
       createTitle();
       createInstructions();
       createToolPanel();
       createDataGrid ();
       createOpen();
       createSave();
    In my document class, I instantiate it...
    public var File_Folder_Import:MediaFolderImport=new MediaFolderImport();
    and then...
    addChild(File_Folder_Import);
    Voila! - the window appears. I WAS very proud of myself.
    Now I want to access something inside the window.  Specifically, there's a radio button that was created in createToolPanel(); - I want to update it to be selected or not selected when I receieve the user's preference from an xml settings file at start up (xml is loaded into the doc class).
    General question:
    What is the best practice, smart way to have designed this?
    - call createToolPanel(); from the doc class instead of within MediaFolderImport();, and somehow (magically) have access to the radio button?
    - leave the design as is, but add some sort of listener within MediaFolderImport that listens for changes to the xml in the doc class, and updates accordingly?
    - do it the way I'm trying to, ie try to access the radio button directly from the doc class (which isn't working):
    File_Folder_Import.myRadioButton.selected = true;
    - a better way someone can briefly explain the concept of?
    Another way to explain my design is...
    - a bunch of different windows, each created by a different class
    - xml file loads preferences, which need to be applied to different tools (radio buttons, check boxes, text fields etc) in the different windows
    I read a lot of posts that talk about how public vars are mostly bad practice.  So if you are making your class vars private, what is the best way to do the kind of inter-class communicating I'm talking about here?
    I think someone throwing light on this will help me solidify my understanding of OOP.
    Thank you for your time and help.

    You're already very used to using properties for the built-in AS classes and that's the best practice means of configuring your class. It's a "state" that you want to simply expose. The get/set method moccamaximum mentioned is the ideal route.
    The main reason you want to use get/set functions is validation. You want your class to act properly if you send an invalid value. Especially if anyone else besides yourself is going to use the class. Plan for the worst.
    The general concept is, make a private variable for any 'state' you want to remember using an underscore in the variable name to easily identify it as a private var, then make get/set functions with the same name with any required validation without the underscore.
    e.g.
    package
         public class MyClass
              // property called 'mode' to track something with an int
               private var _mode:int = 0;
              public function MyClass() {} // empty constructor
              // get (type enforced)
              public function get mode():int { return mode; }
              // set, requiring a value
              public function set isChecked(modeVal:int):void
                   // if no value is sent, ignore
                   if (!modeVal) { return; }
                   _mode = modeVal;
    Your validation will go a long way to easily debugging your classes as they grow in size. Eventually they should throw exceptions and errors if they're not valid. Then you will be best practice. Do note that if your validation requires quite a bit of logic it's common to upgrade the property to a public method. get/set should be reserved for simple properties.

  • OOP Question: Calling Function in Root?

    This is kinda complicated, and I'm still trying to wrap my head around the whole concept of OOP. So right now I am building a XML Gallery, and in the FLA (Root) I've added the thumbnails. Everytime the thumbnails been clicked, it will bring up the "Detail" movieclip, which also is created in the root. And inside the Detail movieclip, I am creating a few buttons with an external class. My question is how can I call a function in the FLA (Root) when I click on the buttons inside the Detail movieclip? Note it seems I've successfully import my external class in both the root and the Detail movieclip.
    I hope I'm making sense. >_<
    Thanks for any help in advance.

    use:
    In the DetailButtons class:
    _button.addEventListener(MouseEvent.CLICK, onClick, false, 0, true);
    private function onClick(evt:MouseEvent):void {
         dispatchEvent(new Event("Clicked");
    In the Main FLA / Root:
    var detailButtons:DetailButtons = new DetailButtons();
    addChild(detailButtons);
    detailButtons.addEventListener("Clicked", goBack);
    function goBack(evt:Event):void{
        trace("Go Back");

  • OOPS Question

    Hi to all,
    . I am learning Java Now. I am in starting stage. I have a question on OOPS in Java. Is Java Supports Fully Object Oriented Concepts? Is it Fully OOPS Language? Some one told me that *"We Can Access Member Functions of a Class without creating object to that"*. As i know about that we can do that using static keyword. and static keyword is not in the OOPS principals.
    And another reason is *"Java Doesn't Support Multiple Inheritance".* we can do that using Interfaces, and those Interfaces are not part of OOPS. Is those above mentioned two reasons are true? if you know in details, kindly explain me. I am very thankful to you. Thanks in advance.

    jverd wrote:
    rdkh wrote:
    jverd wrote:
    rdkh wrote:
    you can access instance methods without any object instances,No, you cannot.please teach me.
    Please look at my code and tell me what I did wrong?
    (1) I grabbed a reference to "foo()".
    (2) "foo()" is an instance method of "Main".
    (3) there are no instances of "Main"... so, that is impossible???
    No!Yes, there is an instance of Main, and yes, it is impossible to access an instance method without an instance of the class whose method it is (as opposed to accessing an instance of the Method class that represents that method).
    public static void main(String[] args) {
    Method m = Main.class.getMethod("foo", null); // access to instance method but no instance
    m.invoke(new Main(), new Object[0]);  // to execute, an instance is needed
    }m.invoke(new Main()), new Object[0])
    There's also an instance of Method, and instance of Class, an instance of String, and an instance of Object[].
    You cannot invoke an instance method without an instance of the class whose method you're invoking.
    What I did is what I said. I got an instance method of "Main" without creating an instance of "Main". That is what the op wanted.Okay, so you obtained an instance of the Method class that corresponds to a particular instance method in Main, without obtaining an instance of Main. So what? That's totally meaningless. You can't invoke it without an instance of Main.
    Edited by: jverd on Jan 13, 2010 9:55 PMcool.
    thanks very much. appreciated it.

  • Dynamic table generation, an OOP question, and .

    I am attempting to teach myself Java using the Sun tutorials (mostly DiveLog) and these forums. So far, things are going well.
    My application is a scheduling program for my current boss. I work in retail, and the app would (ideally) faciliate creating the weekly schedules. I am using Swing to generate the windows and such.
    There are two main parts to the app, each corresponding to a tabbed pane. The first part will be a table with the employees listed down the left, the days of the week across the top, and with each cell being that employee's shift for the day. Totals for hours worked that week will be the farmost right column and totals for hours of coverage that day will be the bottom row. The second part of the app allows the user to enter in a new employee or display/edit an existing employee's information, including a list of scheduling constraints (e.g., can't work mornings Tu/Th because of class).
    My intuition is that the schedule table and the list of scheduling constraints should be dynamically generated and displayed depending on the number of employees and the number of constraints. It would also seem that both parts of the application need access to the current set of data encompassing all employees and their information. As I am just starting, the work I have done so far has been in the employee info section where I am in the process of implementing an MVC architecture with the model as a sort of employee datagram.
    The questions....
    1. How do I draw tables with a dynamic number of rows? I want the scheduler table to have a row for each employee and have the number of employees not hardcoded in. With the list of scheduling constraints, could I just have Swing draw each new row from a loop that counts down the number of constraints?
    2. What is the smart move regarding having multiple parts of the app/GUI access employee data? Would I just load the data into an object when the app starts and have the two parts access the info via 'get' functions? (And subsequently have the second part of the app be able to edit the data via 'set' functions and then tell the first part of the app update itself?)
    3. Is it appropriate to use reading and writing to and from a file for this sort of activity? (As opposed to a database of some sort.) The DiveLog app uses object serialization, and I'm feeling sketchy in this area, particularly with accessing specific pieces of data from whatever gets read from a file. If the user selects an employee from a JComboBox, how do I take that selection and grab the right object from the stuff that's been read back from a file? Similarly with the scheduling table.

    Hi,
    I am new to Jave programming. As a first step of learning, I want to do a Automated Employee Schedule Project in Java. (JSP)
    Could you please help me to understand the flow for creating Automated Employee Schedule project?
    Thanks in advance.
    Amitava

  • OOP question involving inheritance

    Hello,
    I am trying to build an application using OOP, which I am new to, and have a problem. The attached zip file has some dummy code which when run will show the problem, in the stop case. I seem to be able to add classes to a parent, but the parent data is being overwritten apparently.
    Tay
    Solved!
    Go to Solution.
    Attachments:
    Dummy App.zip ‏141 KB

    There is one issue in your code.
    Every time you change a state, you take an NEW object. The new object don't know anything about what you have done in a state before.
    Therefor it seems that the parents data is overwritten, but that is not the case. You are overwriting the hole objact with a new fresh object, which parent dot have any data.
    It is each object that remembers its own data, also what its parent can have, no matter if different classes have the same parent.
    The parent - child relation is not a way to share data between objects. it is a way to define a class with commen methods for different classes.

  • OOP question: self contained class or use of "external" typedefs...

    Hi all,
    I am trying my first steps into Labview OOP and am currently thinking on how to best proceed.
    I have an existing RT application running on a CRIO system that has as one of its components,
    a multi channel analyzer (MCA8000).
    I thought this would be a good candidate for my first LV class since the vi's I curently have for this MCA
    are all connected via a rather large cluster with sub-clusters to store status information and so on for
    this device. Exactly the kind of data which is better defined as private within a class!
    In the currently working code for the whole intrument (non-OOP) I use several queues to send commands
    to indivudal loops of the software and one general message and error logging queue.
    In the code I want to re-implement as OOP for the MCA I use data queues and the "general" logging
    queue of the main program. These queues are all typedefed in the main program.
    So instead of error in's and out's I have the typedefed logging queue as input and errors are logged there
    when they occur. Not sure if this is good practice but this is a good way to let the user know of errors that occur
    on the RT target since the queued log "entries" are all sent to the UI which runs on a laptop.
    The MCA specific queue typedefs I can include into the class project so that they are part of the MCA class.
    What I am not sure about is how to handle the "general" logging queue since it is also used elsewhere in the main
    program. And I am not "yet" planning of re-implementing the whole thing using oop, I wanted to start with a small
    overseeable project.
    In a fully OOP project I would probably define the logging queue in a parent class if I understand OOP correctly?
    Sorry, I am rather new to LV OOP so I might be asking something obvious...
    Olaf

    If you are really planning on implementing your OOP in pieces I would recommend attacking it from the most common and shared items first. So, start with your logs, error processing and messaging components. These are the types of things that will get used by your higher level classes. They also tend to be a bit more self contained and easier to start with.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Abap OOP Question

    Dear Experts!
    Generally how can I use this method correctly?
    Interface IF_WD_SELECT_OPTIONS has a method named ADD_SELECTION_FIELD.
    Especially the import Parameter I_VALUE_HELP_TYPE is the most interesting one for me.
    Because I need a special type : CO_VH_TYPE_CLOCK .
    data ztest type ref to IF_WD_SELECT_OPTIONS.
    create object ztest.
    CALL METHOD ztest->add_selection_field
      EXPORTING
         i_id                         = 'BUKRS'
         i_value_help_type            = IF_WD_VALUE_HELP_HANDLER=>CO_VH_TYPE_CLOCK .
    Please help me I dont know how to solve this requirement.
    regards
    sa

    max it is very easy.
    instead
    data ztest type ref to CL_WDR_SELECT_OPTIONS.
    data: i_value_help_type type string.
    create object ztest.
    CALL METHOD ztest->IF_WD_SELECT_OPTIONS~add_selection_field
      EXPORTING
        i_id              = 'BUKRS'
        i_value_help_type = IF_WD_VALUE_HELP_HANDLER=>CO_PREFIX_NONE.
    this
    data ztest type ref to CL_WDR_SELECT_OPTIONS.
    data: i_value_help_type type string.
    create object ztest.
    CALL METHOD ztest->IF_WD_SELECT_OPTIONS~add_selection_field
      EXPORTING
         i_id                         = 'BUKRS'
         i_value_help_type            = IF_WD_VALUE_HELP_HANDLER=>CO_VH_TYPE_CLOCK
    to sum up:
    no CO_PREFIX_NONE
    but CO_VH_TYPE_CLOCK
    OK????

  • Simple OOPS question

    1. what is the difference between creating an Object
    Reference and creating an Object ??
    2. An Interface may have only data members defined in
    it excluding member functions. What is the advantage
    with these kind of Interfaces ??
    For example in Java we have Serializable and Remote
    Interfaces.

    hi
    1) JFrame frame = new JFrame();
    JFrame frame2 = frame1;
    frame is a Instance,frame2 is a object Reference
    if you modify frame2, frame is modified too.
    2) Interfaces define a set of methodes and/or constants
    for all user of classes that implement this interface
    the classes can have more methodes than the interface
    define, but not a subset.
    The implementation me be different in every class but must match the methode signature of the interface
    zb interface tablemodel : java must make shure that a table have a model with all mehodes of the tablemodel
    becurse java calls methodes of the tablemodel and must find this methodes -this ensure the interface

  • Quick OOP question...

    If I make a class, and then make the the class an object in another class. Then do stuff, and access vars and such. If I need to use some vars from the class I made the object from(use them from a different class), do I make a new object for that class?
    It's confusing so here's an example:
    class Yo{
    int sup = 5;
    class ObjectThing{
    Yo y = new Yo();
    y.sup++;
    class ObjectThingy{
    Yo y = new Yo();
    //Now, do I make another object of the same thing, is that the 'right' way to do it, or is there a better way? Its just now I have 2 Yo y = new Yo() objects.
    y.sup++;
    }

    Not if you want to adhere to the OO principle of data hiding:
    class Yo
      private int a;
      public int a()
        return a;
      public void a( int in )
        a = in;
    class Foo
      Yo y = new Yo();
      // do this in a constructor
      public Foo()
        y.a( y.a() + 1 );  // does the same thing as add 1 to y's a
    }see how Foo cannot directly access Yo's a variable? That is data hiding
    if you want to allow the outside world to access it Yo can have get
    and set methods like the ones shown.

  • MUD OOP Question

    I recently learned that making 'get' methods is a better programming technique, but, can they be over used? I used to get variables in different object just by object.variable, but now I do stuff like object.getVariable(). What I mean by over used is:
    In my MUD game I want chatting to be limited to the location the talking player is in. So player Bob can say Hi, but Hi will only show up in the room that Bob is currently in, and everyone else on the server that isn't in the room, would never know that Bob said Hi. The way I used to do it would be something similar to this:
    for(int x = 0 ; x < human.location.clients.size() ; x++){
         client2 = (Client)human.location.get(v);
         client2.out.println(messege_from_other_client);
         client2.out.flush();
    }Now I'm changing my ways and doing thing similar to this:
    for(int x = 0 ; x < human.getLocation().getClientList().size() ; x++){
         human.getLocation().getClientList().get(v).out.println(messege_from_other_client);
         human.getLocation().getClientList().get(v).out.flush();
    }I know I could program the code any way I want as long as it compiles and runs correctly, but, if I get a ton of people playing my game, and because of some bad programming technique I use, I could possibly run into problems that I would have to redo my ENTIRE code, and I don't want to do that...I just need to learn good techniques now, before I code the whole thing and relize that it can't support too many players because its too slow, or maybe I'll run into expansion problems...who knows...
    I'm a little confused right now, and your help with be so much appreciated.
    Thanks
    -Neo-

    Heres a pseudo code exmaple of a room. To use this you would need User
    classes + other classes all derived from MUDObject
    Location.java
    import java.util.*;
    public class Location extends MUDObject implements UserListener{
      private List users = new LinkedList();
      private String description;
      private Map doors;
      public Location(String description, Map accessibleLocations)
        this.doors = accessibleLocations;
        this.description = description;
      protected synchronized boolean addDoor(String name,Location loc)
        this.doors.put(name,loc);
      public synchronized void enterRoom(User u)
        // perform some checks here then add user to list
        this.users.add(u);
        u.addListener(this);
        // give user message
        u.write(description+"\n There are "+doors.size()+" exits.");
        Iterator i = this.doors.keySet().iterator();
        while(i.hasNext())
          u.write(((String)i.next())+", ");
      // add other methods here to allow users to leave a room or do other things
      // implement UserListener
      public synchronized messageNotify(User u, Action a,String text)
        // notify users in this room of user speaking
        Iterator it = this.users.iterator();
        while(it.hasNext())
          ((User)it.next()).write(u+" "+a+" "+text);
         // should produce something like Bob says: who the hell are you
         // or Bill whispers: what is that
         // or Jane pulls out a very big knife
    }MUDObject.java the base class for all objects in the mud. (just useful
    for future extensibility also you could add stuff like listener code
    in here)
    * basic class that all objects in the MUD are derived from
    * it doesn't do anything yet but if in the future you require
    * a new feature added to all objects then you can add it here
    public class MUDObject
    }matfud

  • Beginner OOP question in Flex

    I was wondering, why does the following code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    package{
    import flash.display.Sprite;
    public class Test extends Sprite{
    public function Test(){
    trace ("Test");
    ]]>
    </mx:Script>
    </mx:Application>
    Results with "1037:Packages cannot be nested" error during
    compilation. What i am trying to do is write a class with
    constructor and later some methods i can use in mxml for different
    component event actions. I know i am missing something, but not
    sure what. Can someone please help me with this?
    thanks in advance

    Hello,
    You should do one of two things:
    - Either you create a new .AS file for your class, specify a
    package and write a constructor for it.
    package com.bc.views.components {
    public class bcColorPicker {
    // Constructor
    public function bcColorPicker():void
    - Or you create a new .MXML file, in that case, you DO NOT
    indicate the package and you DO NOT need a constructor. The package
    of the MXML file being where it's located. If you want to
    instantiate your MXML file from another MXML file, the XML
    namespace (xmlns) you would specify would be what you would specify
    as a package for a class, e.g xmlns:bc="com.bc.views.components.*
    as opposed to package com.bc.views.components.

  • OOP Q about whether getters can really be avoided

    This is a general OOP question.
    There is a ClassA with a private instance variable consisting of an array of ClassB objects. ClassB has a private instance variable x. ClassA objects need to know something about the value of x for their array of ClassB objects; e.g x might be an int, and ClassA objects might need to know the sum over their ClassB objects of ClassB.x. How should this be done?
    An obvious approach is to define a getter in ClassB that returns the value of ClassB.x and have a method in ClassA that computes the sum. But this seems to violate encapsulation, because if the type of x is later changed, then the method in ClassA has to be changed as well, because it's expecting a certain return type from the getter. Having ClassB compute the sum doesn't solve the problem either, because the type of the sum depends on the type of x, so any method in ClassA that gets the sum from ClassB is vulnerable to a change in the type of x.
    This seems like a fairly common situation - how should it be handled?
    Thanks,
    Mark

    In the absence of other constraints, do whatever takes the least work at the time.
    In the abstract case you give, there's no driver one way or the other.
    It's quite natural that an OrderItem might have a cost, and something want to look at the cost and total it with an exterior sum.
    It's quite natural that a RocketBooster might contribute thrust to a ThrustTotal and so use an interior sum.

  • Business Objects and BAPI (SAP-ABAP)

    Hi Friends,
        Could anyone help me about followings:
          1) what is Business Objects, SAP Business Objects in SAP ?
          2) Why it is used  ?
          3) what is BAPIs, why it is used, How it is works actually ?
          4) we have ALE and EDI to communicate data between SAP-SAP and SAP-NonSAP respectively.why we go for BAPIs?
          5) What is OOPs,how it works in realtime ?
    Please treat it as urgent.
    Thx in Adv.
    Bobby

    Hi Bobby,
    Answers for your OOPS question
    Check this for basic concepts of OOPS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/abap%20objects/abap%20code%20sample%20to%20learn%20basic%20concept%20of%20object-oriented%20programming.doc
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20display%20data%20in%20alv%20grid%20using%20object%20oriented%20programming.doc
    Tabstrip
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20for%20tab%20strip%20in%20alv.pdf
    Editable ALV
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20edit%20alv%20grid.doc
    Tree
    http://www.sapdevelopment.co.uk/reporting/alv/alvtree/alvtree_usrint.htm
    General Tutorial for OOPS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an%20easy%20reference%20for%20alv%20grid%20control.pdf
    ++++++++
    Helpful links and examples ........
    http://www.sapgenie.com/abap/OO/index.htm
    http://www.geocities.com/victorav15/sapr3/abap_ood.html
    http://www.brabandt.de/html/abap_oo.html
    Check this cool weblog:
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b6254f411d194a60000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://www.allsaplinks.com/
    http://www.sap-img.com/
    http://www.sapgenie.com/
    http://help.sap.com
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    http://www.sapgenie.com/abap/controls/index.htm
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    these links
    http://help.sap.com/saphelp_47x200/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
    For funtion module to class
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm
    for classes
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
    for methods
    http://help.sap.com/saphelp_47x200/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm
    for inheritance
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/4049c40f4611d3b9380000e8353423/content.htm
    for interfaces
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b6254f411d194a60000e8353423/content.htm
    For Materials:
    1) http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf -- Page no: 1291
    2) http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    3) http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    4) http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    5) http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    6) http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    7) http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    8) http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    http://www.erpgenie.com/sap/abap/OO/index.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    Thanks, Aby Jacob

  • Technical name of class

    Hello,
    This is a general OOP question really.
    At times, classes are based on real life things, such as Patient or Car etc etc. Well, what do you call a class that isn't based on a real life object, or a tangable object - for instance, it is only used for calculations? I have heard a specific name in the past, but i can't remember it!
    Thank you

    "Virtual" maybe? But that's not really a distinction about class names, but rather the problem domain.
    Generally you should give your classes names that reflect their function in the domain of the problem they're trying to solve, IMHO, rather than silly names or names that only make sense in the context of the programming environment.
    So if you were writing a set of classes that dealt with mathematical equations, you might name them "Equation", "Term", "Exponentiation", which makes sense in that context even though they don't represent tangible things that you can smash with a hammer.

Maybe you are looking for

  • Web Dynpro Application throws NoClassDefFoundError for IAspect

    Hi All I decided to teach myself a little bit more about Web Dynpros and the Composite Application Framework and as such started working through SAP's tutorials. Currently I'm busy with 'Using a Composite Application via a Web Dynpro UI' - at the sec

  • Connecting Blue/White G3 OS 8.6 with a G5 OS 10.5.6

    Until today, when I updated my G5 from OS 10.3.9 to OS 10.5.6 (Leopard), I was able to connect via my router to my old blue and white G3 OS 8.6. (This forum, btw, had helped me to successfully make this connection some years ago.) Can anyone please h

  • Adobe Photoshop CS5  has stopped working (weird)

    Hallo Friends, This i my first post here, hope to help me to get rid this problem of. well i'm using Photoshop CS5 (Extended) With Sum Plugins Alien SKin Bokeh Nik Color Efex Pro Dfine Imagenomic Portraiture when i had CS4, no problems were happening

  • Watching music videos from iPad to tv

    I have a new Vizio Razor LED LCD HDTV and want to watch music videos I've purchased from iTunes currently located on my iPad on the TV.  The TV has a USB port.  Is there any way I can copy the files to a jump drive?  I don't want to hook my iPad up d

  • Opening blank page

    how do i make it so when someone clicks a link it opens to a specific width/height blank page... i know how to open in a blank page, but i need to know how to make it a specific width/height???