What is Position class?

hi guys,
can any one tell me what kind of class is the Position? I searched for it in this web site.
but couldnt find it.
any comment
abdul

It's actually an interface, not a class.
http://java.sun.com/j2se/1.4/docs/api/javax/swing/text/Position.html

Similar Messages

  • Position Class...- Simple question - urgent help needed

    I am only having problems with Position parameters....what the hell does a Position refer
    to? A number? Do you supply a number for Position parameter to find a node in a
    doubly linked list? It seems that it goes by that way, but how the heck do you located it
    with a Position parameter p (Postion p)? Doubly /singly linked lists have no reference this
    with numbers....I am only confused when you have instances like:
    public Object remove (Position p) {.....}
    How do you instantenously locate the appropriate node in a Linked list via Position p
    parameter?
    Everything else I understand!!!! It's just that Positioning is bugging the hell out of me...Do
    I supply number 3 for a third node in a linked list? or what?

    i can not see a Object remove(Position p) in LinkedList , and the only Position class I can think of is in javax.swing.text - which is to do with marking positions in text documents. ?
    can you explain your problem better ?

  • How do I find out what Package a class is in

    I am trying to find out what Package the classes XMLNode and XMLInterface are located in. Is there a way to search for a class to find out what package it is held in ?
    Quite often I see example code but spend wore time working out what package the class is in than actually writing code. Am I being really stupid ? (Don't answer that !!)
    Many thanks for any tips
    Dan

    you can find the class path by searching the $JAVA_TOP directory.
    Login to apps server.
    cd $JAVA_TOP
    find . -name "Classname.class"
    --Prasanna                                                                                                                                                                                                                                                                                                                   

  • What are the classes used for bropdownListBox in BSP and purpose and how

    what are the classes used for bropdownListBox in BSP and purpose and how
    thank you,
    Regards.
    Jagrut BharatKumar Shukla

    Benje001,
    Right-click on the CWAI control on your form. Choose Properties. The first tab is the Channels tab. After you choose your device from the drop down box on the right, you can type in the Channels box which channel you want to use.
    If you want to see a CWAI control that is already configured, all of the shipping examples will have this already done.
    Also, if you have questions about any item on the CWAI (or any other NI ActiveX control) you can click the ? icon in the right corner of the properties page and then click on the item in the dialog that you need help with. This "What's this" help will describe that particular control on the dialog.
    Hope that helps!
    Regards,
    Shannon R.
    Applications Engineer
    National Instruments

  • What is a class 1 database?

    what is a class 1 database?. Can anyone explain in detail about what classifies a database as class 1?.
    Searched on google, but couldn't get a single link explaining what this term means..

    user1980 wrote:
    what is a class 1 database?. A class higher than a class 2 database?
    Can anyone explain in detail about what classifies a database as class 1?.
    Searched on google, but couldn't get a single link explaining what this term means..Well, have not heard of this term myself in all the years I've worked with database. And so it seems Google too... Where do you hear the term? In what context was it used?
    If one talks about class 1 and class 2 and so on in information technology, I immediately think IP address classes... But then I have a wee bit of networking background that explains that. ;-)

  • What is a class loader

    What is a class loader in java? Is this related to JVM?

    Don't double post the same question. I've removed the thread you started in the Java Virtual Machine (JVM) forum.
    db

  • Could anyone tell me what is a class

    Hi gurus,
                  could anyone explain me in detail what does a class mean (se24) in sap and for what it is used? i have tried my best to know about it. it is like greek and latin to me.
    Thanks in advance,
    Ramana

    Classes describe objects. From a technical point of view, objects are runtime instances of a class. In theory, you can create any number of objects based on a single class. Each instance (object) of a class has a unique identity and its own set of values for its attributes.
    classes consist of ABAP source code, enclosed in the ABAP statements CLASS ... ENDCLASS. A complete class definition consists of a declaration part and, if required, an implementation part. The declaration part of a class <class> is a statement block:
    CLASS <class> DEFINITION.
    ENDCLASS.
    It contains the declaration for all components (attributes, methods, events) of the class. When you define local classes, the declaration part belongs to the global program data. You should therefore place it at the beginning of the program.
    If you declare methods in the declaration part of a class, you must also write an implementation part for it. This consists of a further statement block:
    CLASS <class> IMPLEMENTATION.
    ENDCLASS.
    The implementation part of a class contains the implementation of all methods of the class. The implementation part of a local class is a processing block. Subsequent coding that is not itself part of a processing block is therefore not accessible.
    Structure of a Class
    The following statements define the structure of a class:
    A class contains components
    Each component is assigned to a visibility section
    Classes implement methods
    The following sections describe the structure of classes in more detail.
    Class Components
    The components of a class make up its contents. All components are declared in the declaration part of the class. The components define the attributes of the objects in a class. When you define the class, each component is assigned to one of the three visibility sections, which define the external interface of the class. All of the components of a class are visible within the class. All components are in the same namespace. This means that all components of the class must have names that are unique within the class.
    There are two kinds of components in a class - those that exist separately for each object in the class, and those that exist only once for the whole class, regardless of the number of instances. Instance-specific components are known as instance components. Components that are not instance-specific are called static components.
    In ABAP Objects, classes can define the following components. Since all components that you can declare in classes can also be declared in interfaces, the following descriptions apply equally to interfaces.
    Attributes
    Attributes are internal data fields within a class that can have any ABAP data type. The state of an object is determined by the contents of its attributes. One kind of attribute is the reference variable. Reference variables allow you to create and address objects. Reference variables can be defined in classes, allowing you to access objects from within a class.
    Instance Attributes
    The contents of instance attributes define the instance-specific state of an object. You declare them using the DATA statement.
    Static Attributes
    The contents of static attributes define the state of the class that is valid for all instances of the class. Static attributes exist once for each class. You declare them using the CLASS-DATA statement. They are accessible for the entire runtime of the class.
    All of the objects in a class can access its static attributes. If you change a static attribute in an object, the change is visible in all other objects in the class.
    Methods
    Methods are internal procedures in a class that define the behavior of an object. They can access all of the attributes of a class. This allows them to change the data content of an object. They also have a parameter interface, with which users can supply them with values when calling them, and receive values back from them The private attributes of a class can only be changed by methods in the same class.
    The definition and parameter interface of a method is similar to that of function modules. You define a method <met> in the definition part of a class and implement it in the implementation part using the following processing block:
    METHOD <meth>.
    ENDMETHOD.
    You can declare local data types and objects in methods in the same way as in other ABAP procedures (subroutines and function modules). You call methods using the CALL METHOD statement.
    Instance Methods
    You declare instance methods using the METHODS statement. They can access all of the attributes of a class, and can trigger all of the events of the class.
    Static Methods
    You declare static methods using the CLASS-METHODS statement. They can only access static attributes and trigger static events.
    Special Methods
    As well as normal methods, which you call using CALL METHOD, there are two special methods called CONSTRUCTOR and CLASS_CONSTRUCTOR, which are automatically called when you create an object (CONSTRUCTOR) or when you first access the components of a class (CLASS_CONSTRUCTOR).
    Events
    Objects or classes can use events to trigger event handler methods in other objects or classes. In a normal method call, one method can be called by any number of users. When an event is triggered, any number of event handler methods can be called. The link between the trigger and the handler is not established until runtime. In a normal method call, the calling program determines the methods that it wants to call. These methods must exist. With events, the handler determines the events to which it wants to react. There does not have to be a handler method registered for every event.
    The events of a class can be triggered in the methods of the same class using the RAISE EVENT statement. You can declare a method of the same or a different class as an event handler method for the event <evt> of class <class> using the addition FOR EVENT <evt> OF <class>.
    Events have a similar parameter interface to methods, but only have output parameters. These parameters are passed by the trigger (RAISE EVENT statement) to the event handler method, which receives them as input parameters.
    The link between trigger and handler is established dynamically in a program using the SET HANDLER statement. The trigger and handlers can be objects or classes, depending on whether you have instance or static events and event handler methods. When an event is triggered, the corresponding event handler methods are executed in all registered handling classes.
    Instance Events
    You declare instance events using the EVENTS statement. An instance event can only be triggered in an instance method.
    Static Events
    You declare static events using the CLASS-EVENTS statement. All methods (instance and static methods) can trigger static events. Static events are the only type of event that can be triggered in a static method.
    See also Triggering and Handling Events.
    Types
    You can define your own ABAP data types within a class using the TYPES statement. Types are not instance-specific, and exist once only for all of the objects in a class.
    Constants
    Constants are special static attributes. You set their values when you declare them, and they can then no longer be changed. You declare them using the CONSTANTS statement. Constants are not instance-specific, and exist once only for all of the objects in a class.
    Visibility Sections
    You can divide the declaration part of a class into up to three visibility areas:
    CLASS <class> DEFINITION.
      PUBLIC SECTION.
      PROTECTED SECTION.
      PRIVATE SECTION.
    ENDCLASS.
    These areas define the external visibility of the class components, that is, the interface between the class and its users. Each component of a class must be assigned to one of the visibility sections.
    Public Section
    All of the components declared in the public section are accessible to all users of the class, and to the methods of the class and any classes that inherit from it. The public components of the class form the interface between the class and its users.
    Protected Section
    All of the components declared in the protected section are accessible to all methods of the class and of classes that inherit from it. Protected components form a special interface between a class and its subclasses. Since inheritance is not active in Release 4.5B, the protected section currently has the same effect as the private section.
    Private Section
    Components that you declare in the private section are only visible in the methods of the same class. The private components are not part of the external interface of the class.

  • What is data Class ?

    Hi.
    I need to know what is "data class". I am aplying a hot package in SAP, and it generated a error because el data class USR34 not exists associated with cdhdr table. The note says that I must create it, but I don´t know how I must to do it.
    And  I don't know if I can associate other data class that exists as USR33.
    Thanks for your help.
    Maria C.

    Hello Maria,
    Data class is a technical attribute of a table.
    Data class in technical settings
        The data class defines the physical area of the database (for ORACLE the
        TABLESPACE) in which your table is logically stored. If you choose a
        data class correctly, your table will automatically be assigned to the
        correct area when it is created on the database.
        The most important data classes are (other than the system data):
        o   APPL0    Master data
        o   APPL1    Transaction data
        o   APPL2    Organizational and customizing data
        Master data is data which is frequently read, but rarely updated.
        Transaction data is data which is frequently updated. Organizational und
        customizing data is data which is defined when the system is initialized
        and then rarely changed.
    Regards,
    Vasanth

  • What are the classes and interface in JDBC

    Please anybody tell me
    What are the Classes in JDBC?
    and
    What are the Interfaces in JDBC?
    Will you please show the classes in one table and interfaces in one table. Plesae
    regards
    pooja.

    Hi jeyan,
    Very more thanks. I am searching lot of time in net to exactly get the classes and interface in jdbc. Now you have given helpful link.
    thank you.
    regards
    pooja

  • What does the class CL_EXITHANDLER do ? What the significance of this class

    what does the class CL_EXITHANDLER do ? What the significance of this class,

    Peters,
    Welcome to SDN!
    you can see this class in SE24 and than choose GET INSTENCE method DB on it. than put break-point on
    CALL METHODcl_exithandler=>get_class_name_by_interface
    finally run any t-code you will come into debugger mode and if you see in exit_name value after pressing F6 you will get BADi name of this perticuler T-code.
    basically we use this class for findings BADi.
    Amit.

  • What is Valuation Class & it uses ?

    Hello SAPians,
    Please expalin me, what is Valuation Class & what it is used for ?
    Thanks in advance.
    Regards
    Rahul Chitte

    Hi Rahul,
    Valuation class and valuation type are used in MM module -
    Valuation class – materials of similar properties are grouped together as valuation class so that you do not have to maintain separate stock accounts for every material. The system refers to valuation class to find the relevant stock account for posting the stock value.
    Valuation type – specifies the individual characteristic of a valuation category.
    b)     Procurement – internal or external
    c)     Origin – names of different countries where the material is being imported.
    d)     Status – new, used or repaired.
    Valuation category – criterion according to which split valuation is carried out.
    a)     Procurement             b) Origin                    c) Status
    Split valuation – an option that lets you manage different stock accounts for a single material in a plant.
    REWARD POINTS IF HELPFUL
    Regards
    Sai

  • What is static class ?

    I know about static function.
    What is static class?
    What is the use of static class?
    how can i use static class.?
    Give me a  static class example?

    Static class and singleton are similar but they are not the same. A singleton is instantiated, and you have a reference to it - just one single reference no matter how many times you instantiate it. Singletons are good for data storage, config settings, loggers things that you may need all around your application, but you always want the same one.
    A static class is not instantiated - an example of this is Flash's Math class. You can just do Math.sin() and get a result, you don't instantiate it in order to use it. Static classes are good for utility classes... essentially they are simply a namespace for a group of methods.
    Oh, and you said you know about static function - what is static class - a static class then is just one that contains only static functions/methods.

  • What is inner class ,and how can I use it?thanks

    what is inner class ,and how can I use it?thanks

    Theres a whole chapter here http://developer.java.sun.com/developer/Books/certification/certbook.html (thanks to SSvetlana for pointing this one out).
    Col

  • What is valuation class In MM?

    Hi,
    What is valuation class in MM?
    Ram Rathode
    Note : Please search forum before posting,search forum,wiki,sap help etc.,
    Edited by: Jeyakanthan A on Jun 1, 2011 11:46 AM

    Valuation class is assigned to the material in material master. It allows the stock values of materials of the same material type to be posted to different G/L accounts and it also allows the stock values of materials of different material types to be posted to the same G/L account.
    Valuation class id created in OMSK Transaction.

  • Can you find out what packages a class has imported?

    Hi all, I start my final year at uni in september and at the moment i'm just experimenting with stuff while i try and decide what to do for my final year project.
    Without going into too much detail what i want to be able to do is for the client to "submit" a class file that is then dynamically loaded and run on the server. Obviously this has security implications so what i was wondering was if it is possible to determine what packages a class has imported from the actual classfile.
    I've looked through the vm spec but haven't been able to find anything theyre that looks like it'll help. Any suggestions or ideas (or solutions!) would be much appreciated.
    Thanks. Matt.

    You could use the Class.getDeclaredClasses() to see the class types that exist as members, but that won't do you any good since the class will have already undergone static initialization within your VM, and the security breach would have already been made. You could inspect the constant pool in the class data to check what other classes are referenced but then that brings up several questions:
    1 - How do you know which classes are bad? Even if you define a set, copies can be created in new packages (or simply aliased) so that the list is invalid.
    2 - How do you know the class you are loading is not malicious? A client class may not reference any external class but may be malicious itself.
    3 - The offending class might use reflection exclusively to reference classes without leaving a trace in the class file. This would be absolutely impossible to detect.
    Your only choices are (a) to use signed classes, and make it the responsibility of someone to review the classes and sign them, or (b) install your own Security Manager to catch all prohibited activity, or (c) check as classes are referenced in the classloader. Option (a) is the best method, but (b) or (c) might work in a very restricted environment.

Maybe you are looking for

  • What is the sequence when a PDF is generated?

    I'd like to know the sequence of events when a PDF is generated from InDesign CS4 using the Adobe PDF 7.0 printer. Postscript is somehow involved before the PDF is generated and I'd like to have a better understanding of what is going on. Acrobat's H

  • I cant import com.sapportals.htmlb.*

    Hi! I just installed netweaver and started out by making a new portal application project. After that I made a new portal application object but when I compile my java-file I get errors regarding the following imports. import com.sapportals.htmlb.*;

  • About Layout in Report builder 10g

    Hi All I am new for report, can any one help me for clearing the concept on repeating frame in rdf. if my query is master detail how to i design my layout.

  • Where is the "Code Templates" description in ABAP New Editor option?

    I added Template in Code Templates. Where is my template source.... Plz Help me...

  • FDF Changes Between Reader 8.2.5 and 9.x

    We have a PDF form-served from a networked drive and only used internally-that submits its contents by emailing an FDF. In Adobe Reader 8.2.5, the FDF has the /F flag automatically set to the location of the PDF form. In Reader 9.x, the /F is no long