Apple WebObjects 3.5 Instrukcja Użytkownika Strona 28

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 120
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 27
Chapter 1 Creating a Simple WebObjects Application
28
WebObjects Builder allows you to declare variables without having to edit your
source file directly. At the bottom of the window there is a pull-down menu
called Edit Main.java. It has three items:
Add Variable/Method allows you to add a key to your source file. A key can be either
an instance variable or a method that returns a value.
Add Action allows you to add the template for an action method, which is a
method that takes no parameters and returns a component (the next page
to be displayed).
View Source File opens the source file in a Project Builder window.
1. Choose Add Variable/Method from the pull-down menu.
The Add Variable/Method panel opens.
2. Type
guestName in the Name field.
3. To specify the variable’s type, select String from the pop-up menu (or you
can type
String directly in the box.
4. Click Add.
You have just created a variable called
guestName of type String. It appears in
the first column of the object browser. A declaration for
guestName also
appears in
Main.java, which you’ll edit later.
5. Create the variables
email and comments in the same way (they are also of
type String.)
Type variable name here.
Choose variable’s type from
this pop-up menu.
Przeglądanie stron 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 119 120

Komentarze do niniejszej Instrukcji

Brak uwag

MUSIC HALL Handbücher

Die Liste der MUSIC HALL Geräte enthält 14 Benutzerhandbücher und Anleitungen für 13 Modelle in 5 Gerätetypen

Audioverstärker
Modelle Dokumententyp
VP29 Spezifikationen   Music Hall vp29, 1 Seiten
VP130 Spezifikationen   Music Hall vp130, 2 Seiten
A50.2 Bedienungsanleitung   MUSIC HALL A50.2 User manual [en] , 11 Seiten
A35.2 Bedienungsanleitung   MUSIC HALL A35.2 User`s manual, 12 Seiten
Audio-Plattenspieler
Modelle Dokumententyp
mmf-5.1se Bedienerhandbuch   MUSIC HALL mmf-5.1se Instruction manual, 16 Seiten
MMF-2.1 Bedienerhandbuch   Music Hall MMF2.2 audio turntable, 15 Seiten
mmf-11 Bedienerhandbuch   MUSIC HALL mmf-11 Instruction manual, 16 Seiten
USB-1 Bedienerhandbuch   Music Hall usb-1, 12 Seiten
mmf-7.1 Bedienerhandbuch   MUSIC HALL mmf-7.1 Instruction manual, 18 Seiten
CD Spieler
Modelle Dokumententyp
A35.2 Bedienungsanleitung   MUSIC HALL A35.2 User`s manual, 12 Seiten
Musikausrüstung
Modelle Dokumententyp
dac15.2 Bedienungsanleitung   Music Hall dac15.2 User's Manual, 8 Seiten
A70.2 Bedienungsanleitung   Music Hall A70.2 User's Manual, 8 Seiten
DAC 25.3 Black USB Digital Audio Converter DAC 25.3 Black Bedienungsanleitung   Music Hall DAC 25.3 Black USB Digital Audio Converter DAC 25.3 Black User's Manual, 12 Seiten