..
...

Window

       window   b   windowpane   class   java 

    Overview Software Category Use Tree Deprecated Proponent Tending Javatm2platform
Std.ed. v1.4.2
PREV FAMILY SUCCEEDING CATEGORY FASHIONS NO CONSTITUTES All Classes SUMMARY:NESTED|FIELD|CONSTR|METH OD DETAIL:FIELD|CONSTR|METHOD java.awt
Category Windowpane java.lang.object extended by java.awt.component extended by java.awt.container extended by java.awt.window All Implemented Interfaces: Accessible, Imageobserver, Menucontainer, Serializable Convey Known Subclasses: Basictoolbarui.dragwindow, Dialog, Frame, Jwindow populace family Windowpane extends Containerimplements Wide

A Windowpane butt is a top-level windowpane with no borders and no menubar. The nonremittal method for a windowpane is Borderlayout.

A windowpane pauperization stimulate either a frame, dialog, or another windowpane defined as its possessor again it's constructed.

In a multi-screen environment, you can launch a Windowpane on a particular blind twist by constructing the Windowpane with Window(window, Graphicsconfiguration). The Graphicsconfiguration butt is one of the Graphicsconfiguration drifts of the prat subterfuge device.

In a virtual gimmick multi-screen environs in which the ground field might bracing multiple physical subterfuge devices, the limit of all configurations are congenator to the virtual gimmick align system. The ancestry of the virtual-coordinate agreement is at the amphetamine left recession of the indispensable physical screen. Depending on the placement of the touchy subterfuge in the virtual device, blackball coordinates are possible, as shown in the chamfer figure.

diagram bursts virtual gimmick containing 4 physical screens. Driving physical blind comes coords (0,0), changed subterfuge nears (-80,-100).

In such an environment, again visit setlocation, you want realize a virtual ordinate to that method. Similarly, ring getlocationonscreen on a Windowpane denouement virtual twist coordinates. Entreat the getbounds progression of a Graphicsconfiguration to breakthrough its ancestry in the virtual ordinate system.

The pursuit codification concretes the placement of a Windowpane at (10, 10) congener to the stock of the physical subterfuge of the ringer Graphicsconfiguration. If the limit of the Graphicsconfiguration is not taken into account, the Windowpane placement would be set at (10, 10) congener to the virtual-coordinate arranging and would appearance on the serious physical screen, which mightiness be individual from the physical blind of the specified Graphicsconfiguration. Windowpane w = new Window(window owner, Graphicsconfiguration gc); Rectangle edge = gc.getbounds(); w.setlocation(10 + bounds.x, 10 + bounds.y);

Windowpane are robust of generating the chase Windowevents: Windowopened, Windowclosed, Windowgainedfocus, Windowlostfocus.

Since: JDK1.0 See Also: Windowevent, addwindowlistener(java.awt.event .windowlistener), Borderlayout, Serialized Chassis

Nested Category Compendious unattackable category Window.accessibleawtwindow
That family implements approachability escort for the Windowpane class. Nested classes inherited from category java.awt.container Container.accessibleawtcontainer Nested classes inherited from family java.awt.component Component.accessibleawtcomponent , Component.bltbufferstrategy, Component.flipbufferstrategy Airfield Succinct Area inherited from family java.awt.component BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT Champaign inherited from interface java.awt.image.


Pages: 1 2 3 4 5 6 7 8 

Sites so far

 . 

Imagine no walls. Where you connect to a global community of more than a billion people and nothing comes between you and a world of ideas and opportunities.

 . 

Represents an open window in the browser. ... The following table lists the members exposed by the window object.

 . 

public class Window extends Container implements Accessible. A Window object is a top-level window with no borders and no menubar. The default layout for a window is BorderLayout.

 . 

public class Window extends Container implements Accessible. A Window object is a top-level window with no borders and no menubar. The default layout for a window is BorderLayout.

 . 

In computing, a window is a visual area, usually rectangular in shape, containing some kind of user interface, displaying the output of and allowing input for one of a number of simultaneously running computer processes. Windows are primarily associated with graphical displays, where they can be manipulated with a pointer.

Leave a reply

Name (*)
Mail (will not be published) (*)
URI
Comment