home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-07-02 | 20.3 KB | 1,211 lines |
- DEF_COMPONENTNAME
- SmtpComp
- DEF_SUPERCLASS
- Panel
- DEF_SUPERCOMPONENT
- Object
- DEF_PACKAGE
- mojo
- networking
- DEF_ENDLIST
- DEF_SUBCOMPONENTLIST
- toText
- fromText
- subjText
- mesgText
- sendit
- Label1
- Label2
- Label3
- Label4
- DEF_ENDLIST
- DEF_SUBCOMPONENTCLASSLIST
- SmtpComp_toText
- SmtpComp_fromText
- SmtpComp_subjText
- SmtpComp_mesgText
- SmtpComp_sendit
- SmtpComp_Label1
- SmtpComp_Label2
- SmtpComp_Label3
- SmtpComp_Label4
- DEF_ENDLIST
- DEF_CATEGORY
- Networking
- DEF_BITMAP
-
- DEF_THUMBNAIL_UP
- mail.bmp
- DEF_THUMBNAIL_DOWN
- 2-mail.bmp
- DEF_VISUAL
- DEF_TOOL
- DEF_PANEL
- DEF_IMPORTS
- java.io.*
- java.net.ProtocolException
- java.net.UnknownHostException
- DEF_ENDLIST
- DEF_REQUIRES
- Smtp
- DEF_ENDLIST
- DEF_IMPLEMENTS
- DEF_ENDLIST
- DEF_DECLARATION
- // A class that is a wrapper for the smtp class.
- // Variable Declarations
- private String from;
- private String to;
- private String subject = "Uninitialized";
- private String message = "Uninitialized";
- private String mailhost = "unknown";
- private boolean editTo;
- private boolean editFrom;
- // Button sendit;
- // Label fromLabel;
- // Label toLabel;
- // TextField fromText, toText;
- // TextField subjText;
- // TextArea mesgText;
- DEF_ENDLIST
- DEF_EVENT
- public boolean action(Event e, Object o) {
- if (e.target instanceof Button) {
- if ("Send".equals( (String) o ) ) {
- try {
- /* Nice idea - but for some reason it is locking up... I'll fix it for v1.1 :-)
- // showStatus("Getting Mailhost");
- String mailhost = getCodeBase().getHost();
- */
- // showStatus("Connecting to mailhost ");
- Smtp connect = new Smtp(mailhost);
- // showStatus("Connected to mailhost... sending...");
-
- subject = subjText.getText();
- message = mesgText.getText();
-
- connect.sendmsg(from,to,subject,message);
- // showStatus("Message sent");
-
- if (fromText.isEditable())
- fromText.setText(from);
- if (toText.isEditable())
- toText.setText(to);
-
- subjText.setText("Send from Applet");
- mesgText.setText("Sample Message");
- }
- catch (UnknownHostException x1) {
- // showStatus("Failed to find host - " + mailhost);
- System.out.println(x1.getMessage());
- }
- catch (ProtocolException x2) {
- // showStatus("Some sort of protocol exception");
- System.out.println(x2.getMessage());
- }
- catch (IOException x3) {
- // showStatus("Error reading/writing to socket on " + mailhost);
- System.out.println(x3.getMessage());
- }
- finally {
- }
- return true;
- }
- }
- if (e.target instanceof TextField) {
- return true;
- }
- return super.action(e,o);
- }
- DEF_ENDLIST
- DEF_METHOD
- void initialize()
- {
- if (editTo == false)
- toText.setEditable(false);
- else
- toText.setEditable(true);
-
-
- if (editFrom == true)
- fromText.setEditable(true);
- else
- fromText.setEditable(false);
-
- }
- DEF_ENDLIST
- DEF_METHOD
- public void paint(Graphics g) {
- }
- DEF_ENDLIST
- DEF_METHOD
- public void setSmtpTo(String aParam)
- {
- to = aParam;
- }
- DEF_ENDLIST
- DEF_METHOD
- public String getSmtpTo()
- {
- return to;
- }
- DEF_ENDLIST
- DEF_METHOD
- public void setSmtpFrom(String aParam)
- {
- from = aParam;
- }
- DEF_ENDLIST
- DEF_METHOD
- public String getSmtpFrom()
- {
- return from;
- }
- DEF_ENDLIST
- DEF_METHOD
- public void setSmtpMailHost(String aParam)
- {
- mailhost = aParam;
- }
- DEF_ENDLIST
- DEF_METHOD
- public String getSmtpMailHost()
- {
- return mailhost;
- }
- DEF_ENDLIST
- DEF_METHOD
- public void setSmtpEditTo(boolean aParam)
- {
- editTo = aParam;
- }
- DEF_ENDLIST
- DEF_METHOD
- public boolean getSmtpEditTo()
- {
- return editTo;
- }
- DEF_ENDLIST
- DEF_METHOD
- public void setSmtpEditFrom(boolean aParam)
- {
- editFrom = aParam;
- }
- DEF_ENDLIST
- DEF_METHOD
- public boolean getSmtpEditFrom()
- {
- return editFrom;
- }
- DEF_ENDLIST
- DEF_PROPERTY
- To:
- String
- setSmtpTo(AVALUE);
- AVALUE=getSmtpTo();
-
- DEF_ENDLIST
- DEF_PROPERTY
- From:
- String
- setSmtpFrom(AVALUE);
- AVALUE=getSmtpFrom();
-
- DEF_ENDLIST
- DEF_PROPERTY
- MailHost
- String
- setSmtpMailHost(AVALUE);
- AVALUE=getSmtpMailHost();
-
- DEF_ENDLIST
- DEF_PROPERTY
- Edit To
- boolean
- setSmtpEditTo(AVALUE);
- AVALUE=getSmtpEditTo();
- true
- DEF_ENDLIST
- DEF_PROPERTY
- Edit From
- boolean
- setSmtpEditFrom(AVALUE);
- AVALUE=getSmtpEditFrom();
- true
- DEF_ENDLIST
- DEF_PROPERTY
- Top
- int
- move(bounds().x, AVALUE);
- AVALUE = bounds().y;
- 40
- DEF_ENDLIST
- DEF_PROPERTY
- Left
- int
- move(AVALUE, bounds().y);
- AVALUE = bounds().x;
- 30
- DEF_ENDLIST
- DEF_PROPERTY
- Height
- int
- resize(bounds().width, AVALUE);
- AVALUE = bounds().height;
- 356
- DEF_ENDLIST
- DEF_PROPERTY
- Width
- int
- resize(AVALUE, bounds().height);
- AVALUE = bounds().width;
- 413
- DEF_ENDLIST
- DEF_ENDCOMPONENT
- DEF_COMPONENTNAME
- SmtpComp_fromText
- DEF_SUPERCLASS
- TextField
- DEF_SUPERCOMPONENT
- SmtpComp
- DEF_PACKAGE
- mojo
- networking
- subcomponents
- smtpcomp
- DEF_ENDLIST
- DEF_SUBCOMPONENTLIST
- DEF_ENDLIST
- DEF_SUBCOMPONENTCLASSLIST
- DEF_ENDLIST
- DEF_CATEGORY
-
- DEF_BITMAP
-
- DEF_THUMBNAIL_UP
- ntex-ed.bmp
- DEF_THUMBNAIL_DOWN
- d-ntex-ed.bmp
- DEF_VISUAL
- DEF_IMPORTS
- DEF_ENDLIST
- DEF_REQUIRES
- DEF_ENDLIST
- DEF_IMPLEMENTS
- DEF_ENDLIST
- DEF_DECLARATION
- // TextField is a component that allows the editing of a single line of text.
- DEF_ENDLIST
- DEF_PROPERTY
- Top
- int
- move(bounds().x, AVALUE);
- AVALUE = bounds().y;
- 70
- DEF_ENDLIST
- DEF_PROPERTY
- Left
- int
- move(AVALUE, bounds().y);
- AVALUE = bounds().x;
- 90
- DEF_ENDLIST
- DEF_PROPERTY
- Height
- int
- resize(bounds().width, AVALUE);
- AVALUE = bounds().height;
- 24
- DEF_ENDLIST
- DEF_PROPERTY
- Width
- int
- resize(AVALUE, bounds().height);
- AVALUE = bounds().width;
- 121
- DEF_ENDLIST
- DEF_PROPERTY
- ForegroundColor
- Color
- setForeground(AVALUE);
- AVALUE = getForeground();
- Color.black
- DEF_ENDLIST
- DEF_PROPERTY
- BackgroundColor
- Color
- setBackground(AVALUE);
- AVALUE = getBackground();
- Color.white
- DEF_ENDLIST
- DEF_PROPERTY
- FontName
- String
- setFont(new Font(AVALUE, getFont().getStyle(), getFont().getSize()));
- AVALUE = getFont().getName();
- Courier
- DEF_ENDLIST
- DEF_PROPERTY
- FontStyle
- int
- setFont(new Font(getFont().getName(), AVALUE, getFont().getSize()));
- AVALUE = getFont().getStyle();
- Font.PLAIN
- DEF_ENDLIST
- DEF_PROPERTY
- FontSize
- int
- setFont(new Font(getFont().getName(), getFont().getStyle(), AVALUE));
- AVALUE = getFont().getSize();
- 10
- DEF_ENDLIST
- DEF_ENDCOMPONENT
- DEF_COMPONENTNAME
- SmtpComp_Label1
- DEF_SUPERCLASS
- Label
- DEF_SUPERCOMPONENT
- SmtpComp
- DEF_PACKAGE
- mojo
- networking
- subcomponents
- smtpcomp
- DEF_ENDLIST
- DEF_SUBCOMPONENTLIST
- DEF_ENDLIST
- DEF_SUBCOMPONENTCLASSLIST
- DEF_ENDLIST
- DEF_CATEGORY
-
- DEF_BITMAP
-
- DEF_THUMBNAIL_UP
- nlabel.bmp
- DEF_THUMBNAIL_DOWN
- d-nlabel.bmp
- DEF_VISUAL
- DEF_IMPORTS
- DEF_ENDLIST
- DEF_REQUIRES
- DEF_ENDLIST
- DEF_IMPLEMENTS
- DEF_ENDLIST
- DEF_DECLARATION
- // A component that displays a single line of read-only text.
- DEF_ENDLIST
- DEF_PROPERTY
- Text
- String
- setText(AVALUE);
- AVALUE = getText();
- To:
- DEF_ENDLIST
- DEF_PROPERTY
- Alignment
- int
- setAlignment(AVALUE);
- AVALUE = getAlignment();
- Label.LEFT
- DEF_ENDLIST
- DEF_PROPERTY
- Top
- int
- move(bounds().x, AVALUE);
- AVALUE = bounds().y;
- 28
- DEF_ENDLIST
- DEF_PROPERTY
- Left
- int
- move(AVALUE, bounds().y);
- AVALUE = bounds().x;
- 28
- DEF_ENDLIST
- DEF_PROPERTY
- Height
- int
- resize(bounds().width, AVALUE);
- AVALUE = bounds().height;
- 14
- DEF_ENDLIST
- DEF_PROPERTY
- Width
- int
- resize(AVALUE, bounds().height);
- AVALUE = bounds().width;
- 40
- DEF_ENDLIST
- DEF_PROPERTY
- ForegroundColor
- Color
- setForeground(AVALUE);
- AVALUE = getForeground();
- Color.black
- DEF_ENDLIST
- DEF_PROPERTY
- BackgroundColor
- Color
- setBackground(AVALUE);
- AVALUE = getBackground();
- Color.lightGray
- DEF_ENDLIST
- DEF_PROPERTY
- FontName
- String
- setFont(new Font(AVALUE, getFont().getStyle(), getFont().getSize()));
- AVALUE = getFont().getName();
- Courier
- DEF_ENDLIST
- DEF_PROPERTY
- FontStyle
- int
- setFont(new Font(getFont().getName(), AVALUE, getFont().getSize()));
- AVALUE = getFont().getStyle();
- Font.PLAIN
- DEF_ENDLIST
- DEF_PROPERTY
- FontSize
- int
- setFont(new Font(getFont().getName(), getFont().getStyle(), AVALUE));
- AVALUE = getFont().getSize();
- 10
- DEF_ENDLIST
- DEF_ENDCOMPONENT
- DEF_COMPONENTNAME
- SmtpComp_Label2
- DEF_SUPERCLASS
- Label
- DEF_SUPERCOMPONENT
- SmtpComp
- DEF_PACKAGE
- mojo
- networking
- subcomponents
- smtpcomp
- DEF_ENDLIST
- DEF_SUBCOMPONENTLIST
- DEF_ENDLIST
- DEF_SUBCOMPONENTCLASSLIST
- DEF_ENDLIST
- DEF_CATEGORY
-
- DEF_BITMAP
-
- DEF_THUMBNAIL_UP
- nlabel.bmp
- DEF_THUMBNAIL_DOWN
- d-nlabel.bmp
- DEF_VISUAL
- DEF_IMPORTS
- DEF_ENDLIST
- DEF_REQUIRES
- DEF_ENDLIST
- DEF_IMPLEMENTS
- DEF_ENDLIST
- DEF_DECLARATION
- // A component that displays a single line of read-only text.
- DEF_ENDLIST
- DEF_PROPERTY
- Text
- String
- setText(AVALUE);
- AVALUE = getText();
- From:
- DEF_ENDLIST
- DEF_PROPERTY
- Alignment
- int
- setAlignment(AVALUE);
- AVALUE = getAlignment();
- Label.LEFT
- DEF_ENDLIST
- DEF_PROPERTY
- Top
- int
- move(bounds().x, AVALUE);
- AVALUE = bounds().y;
- 68
- DEF_ENDLIST
- DEF_PROPERTY
- Left
- int
- move(AVALUE, bounds().y);
- AVALUE = bounds().x;
- 28
- DEF_ENDLIST
- DEF_PROPERTY
- Height
- int
- resize(bounds().width, AVALUE);
- AVALUE = bounds().height;
- 14
- DEF_ENDLIST
- DEF_PROPERTY
- Width
- int
- resize(AVALUE, bounds().height);
- AVALUE = bounds().width;
- 51
- DEF_ENDLIST
- DEF_PROPERTY
- ForegroundColor
- Color
- setForeground(AVALUE);
- AVALUE = getForeground();
- Color.black
- DEF_ENDLIST
- DEF_PROPERTY
- BackgroundColor
- Color
- setBackground(AVALUE);
- AVALUE = getBackground();
- Color.lightGray
- DEF_ENDLIST
- DEF_PROPERTY
- FontName
- String
- setFont(new Font(AVALUE, getFont().getStyle(), getFont().getSize()));
- AVALUE = getFont().getName();
- Courier
- DEF_ENDLIST
- DEF_PROPERTY
- FontStyle
- int
- setFont(new Font(getFont().getName(), AVALUE, getFont().getSize()));
- AVALUE = getFont().getStyle();
- Font.PLAIN
- DEF_ENDLIST
- DEF_PROPERTY
- FontSize
- int
- setFont(new Font(getFont().getName(), getFont().getStyle(), AVALUE));
- AVALUE = getFont().getSize();
- 10
- DEF_ENDLIST
- DEF_ENDCOMPONENT
- DEF_COMPONENTNAME
- SmtpComp_Label3
- DEF_SUPERCLASS
- Label
- DEF_SUPERCOMPONENT
- SmtpComp
- DEF_PACKAGE
- mojo
- networking
- subcomponents
- smtpcomp
- DEF_ENDLIST
- DEF_SUBCOMPONENTLIST
- DEF_ENDLIST
- DEF_SUBCOMPONENTCLASSLIST
- DEF_ENDLIST
- DEF_CATEGORY
-
- DEF_BITMAP
-
- DEF_THUMBNAIL_UP
- nlabel.bmp
- DEF_THUMBNAIL_DOWN
- d-nlabel.bmp
- DEF_VISUAL
- DEF_IMPORTS
- DEF_ENDLIST
- DEF_REQUIRES
- DEF_ENDLIST
- DEF_IMPLEMENTS
- DEF_ENDLIST
- DEF_DECLARATION
- // A component that displays a single line of read-only text.
- DEF_ENDLIST
- DEF_PROPERTY
- Text
- String
- setText(AVALUE);
- AVALUE = getText();
- Subject:
- DEF_ENDLIST
- DEF_PROPERTY
- Alignment
- int
- setAlignment(AVALUE);
- AVALUE = getAlignment();
- Label.LEFT
- DEF_ENDLIST
- DEF_PROPERTY
- Top
- int
- move(bounds().x, AVALUE);
- AVALUE = bounds().y;
- 98
- DEF_ENDLIST
- DEF_PROPERTY
- Left
- int
- move(AVALUE, bounds().y);
- AVALUE = bounds().x;
- 28
- DEF_ENDLIST
- DEF_PROPERTY
- Height
- int
- resize(bounds().width, AVALUE);
- AVALUE = bounds().height;
- 13
- DEF_ENDLIST
- DEF_PROPERTY
- Width
- int
- resize(AVALUE, bounds().height);
- AVALUE = bounds().width;
- 85
- DEF_ENDLIST
- DEF_PROPERTY
- ForegroundColor
- Color
- setForeground(AVALUE);
- AVALUE = getForeground();
- Color.black
- DEF_ENDLIST
- DEF_PROPERTY
- BackgroundColor
- Color
- setBackground(AVALUE);
- AVALUE = getBackground();
- Color.lightGray
- DEF_ENDLIST
- DEF_PROPERTY
- FontName
- String
- setFont(new Font(AVALUE, getFont().getStyle(), getFont().getSize()));
- AVALUE = getFont().getName();
- Courier
- DEF_ENDLIST
- DEF_PROPERTY
- FontStyle
- int
- setFont(new Font(getFont().getName(), AVALUE, getFont().getSize()));
- AVALUE = getFont().getStyle();
- Font.PLAIN
- DEF_ENDLIST
- DEF_PROPERTY
- FontSize
- int
- setFont(new Font(getFont().getName(), getFont().getStyle(), AVALUE));
- AVALUE = getFont().getSize();
- 10
- DEF_ENDLIST
- DEF_ENDCOMPONENT
- DEF_COMPONENTNAME
- SmtpComp_Label4
- DEF_SUPERCLASS
- Label
- DEF_SUPERCOMPONENT
- SmtpComp
- DEF_PACKAGE
- mojo
- networking
- subcomponents
- smtpcomp
- DEF_ENDLIST
- DEF_SUBCOMPONENTLIST
- DEF_ENDLIST
- DEF_SUBCOMPONENTCLASSLIST
- DEF_ENDLIST
- DEF_CATEGORY
-
- DEF_BITMAP
-
- DEF_THUMBNAIL_UP
- nlabel.bmp
- DEF_THUMBNAIL_DOWN
- d-nlabel.bmp
- DEF_VISUAL
- DEF_IMPORTS
- DEF_ENDLIST
- DEF_REQUIRES
- DEF_ENDLIST
- DEF_IMPLEMENTS
- DEF_ENDLIST
- DEF_DECLARATION
- // A component that displays a single line of read-only text.
- DEF_ENDLIST
- DEF_PROPERTY
- Text
- String
- setText(AVALUE);
- AVALUE = getText();
- Message:
- DEF_ENDLIST
- DEF_PROPERTY
- Alignment
- int
- setAlignment(AVALUE);
- AVALUE = getAlignment();
- Label.LEFT
- DEF_ENDLIST
- DEF_PROPERTY
- Top
- int
- move(bounds().x, AVALUE);
- AVALUE = bounds().y;
- 160
- DEF_ENDLIST
- DEF_PROPERTY
- Left
- int
- move(AVALUE, bounds().y);
- AVALUE = bounds().x;
- 30
- DEF_ENDLIST
- DEF_PROPERTY
- Height
- int
- resize(bounds().width, AVALUE);
- AVALUE = bounds().height;
- 17
- DEF_ENDLIST
- DEF_PROPERTY
- Width
- int
- resize(AVALUE, bounds().height);
- AVALUE = bounds().width;
- 90
- DEF_ENDLIST
- DEF_PROPERTY
- ForegroundColor
- Color
- setForeground(AVALUE);
- AVALUE = getForeground();
- Color.black
- DEF_ENDLIST
- DEF_PROPERTY
- BackgroundColor
- Color
- setBackground(AVALUE);
- AVALUE = getBackground();
- Color.lightGray
- DEF_ENDLIST
- DEF_PROPERTY
- FontName
- String
- setFont(new Font(AVALUE, getFont().getStyle(), getFont().getSize()));
- AVALUE = getFont().getName();
- Courier
- DEF_ENDLIST
- DEF_PROPERTY
- FontStyle
- int
- setFont(new Font(getFont().getName(), AVALUE, getFont().getSize()));
- AVALUE = getFont().getStyle();
- Font.PLAIN
- DEF_ENDLIST
- DEF_PROPERTY
- FontSize
- int
- setFont(new Font(getFont().getName(), getFont().getStyle(), AVALUE));
- AVALUE = getFont().getSize();
- 10
- DEF_ENDLIST
- DEF_ENDCOMPONENT
- DEF_COMPONENTNAME
- SmtpComp_mesgText
- DEF_SUPERCLASS
- TextArea
- DEF_SUPERCOMPONENT
- SmtpComp
- DEF_PACKAGE
- mojo
- networking
- subcomponents
- smtpcomp
- DEF_ENDLIST
- DEF_SUBCOMPONENTLIST
- DEF_ENDLIST
- DEF_SUBCOMPONENTCLASSLIST
- DEF_ENDLIST
- DEF_CATEGORY
-
- DEF_BITMAP
-
- DEF_THUMBNAIL_UP
- nmemo.bmp
- DEF_THUMBNAIL_DOWN
- d-nmemo.bmp
- DEF_VISUAL
- DEF_IMPORTS
- DEF_ENDLIST
- DEF_REQUIRES
- DEF_ENDLIST
- DEF_IMPLEMENTS
- DEF_ENDLIST
- DEF_DECLARATION
- // A TextArea object is a multi-line area that displays text. It can
- // be set to allow editing or read-only modes.
- DEF_ENDLIST
- DEF_PROPERTY
- Top
- int
- move(bounds().x, AVALUE);
- AVALUE = bounds().y;
- 190
- DEF_ENDLIST
- DEF_PROPERTY
- Left
- int
- move(AVALUE, bounds().y);
- AVALUE = bounds().x;
- 27
- DEF_ENDLIST
- DEF_PROPERTY
- Height
- int
- resize(bounds().width, AVALUE);
- AVALUE = bounds().height;
- 148
- DEF_ENDLIST
- DEF_PROPERTY
- Width
- int
- resize(AVALUE, bounds().height);
- AVALUE = bounds().width;
- 349
- DEF_ENDLIST
- DEF_PROPERTY
- ForegroundColor
- Color
- setForeground(AVALUE);
- AVALUE = getForeground();
- Color.black
- DEF_ENDLIST
- DEF_PROPERTY
- BackgroundColor
- Color
- setBackground(AVALUE);
- AVALUE = getBackground();
- Color.white
- DEF_ENDLIST
- DEF_PROPERTY
- FontName
- String
- setFont(new Font(AVALUE, getFont().getStyle(), getFont().getSize()));
- AVALUE = getFont().getName();
- Courier
- DEF_ENDLIST
- DEF_PROPERTY
- FontStyle
- int
- setFont(new Font(getFont().getName(), AVALUE, getFont().getSize()));
- AVALUE = getFont().getStyle();
- Font.PLAIN
- DEF_ENDLIST
- DEF_PROPERTY
- FontSize
- int
- setFont(new Font(getFont().getName(), getFont().getStyle(), AVALUE));
- AVALUE = getFont().getSize();
- 10
- DEF_ENDLIST
- DEF_ENDCOMPONENT
- DEF_COMPONENTNAME
- SmtpComp_sendit
- DEF_SUPERCLASS
- Button
- DEF_SUPERCOMPONENT
- SmtpComp
- DEF_PACKAGE
- mojo
- networking
- subcomponents
- smtpcomp
- DEF_ENDLIST
- DEF_SUBCOMPONENTLIST
- DEF_ENDLIST
- DEF_SUBCOMPONENTCLASSLIST
- DEF_ENDLIST
- DEF_CATEGORY
-
- DEF_BITMAP
-
- DEF_THUMBNAIL_UP
- nbutn2.bmp
- DEF_THUMBNAIL_DOWN
- d-nbutn2.bmp
- DEF_VISUAL
- DEF_IMPORTS
- DEF_ENDLIST
- DEF_REQUIRES
- DEF_ENDLIST
- DEF_IMPLEMENTS
- DEF_ENDLIST
- DEF_DECLARATION
- // A class that produces a labeled button component.
- DEF_ENDLIST
- DEF_PROPERTY
- Label
- String
- setLabel(AVALUE);
- AVALUE = getLabel();
- Send
- DEF_ENDLIST
- DEF_PROPERTY
- Top
- int
- move(bounds().x, AVALUE);
- AVALUE = bounds().y;
- 30
- DEF_ENDLIST
- DEF_PROPERTY
- Left
- int
- move(AVALUE, bounds().y);
- AVALUE = bounds().x;
- 290
- DEF_ENDLIST
- DEF_PROPERTY
- Height
- int
- resize(bounds().width, AVALUE);
- AVALUE = bounds().height;
- 25
- DEF_ENDLIST
- DEF_PROPERTY
- Width
- int
- resize(AVALUE, bounds().height);
- AVALUE = bounds().width;
- 75
- DEF_ENDLIST
- DEF_PROPERTY
- ForegroundColor
- Color
- setForeground(AVALUE);
- AVALUE = getForeground();
- Color.black
- DEF_ENDLIST
- DEF_PROPERTY
- BackgroundColor
- Color
- setBackground(AVALUE);
- AVALUE = getBackground();
- Color.lightGray
- DEF_ENDLIST
- DEF_PROPERTY
- FontName
- String
- setFont(new Font(AVALUE, getFont().getStyle(), getFont().getSize()));
- AVALUE = getFont().getName();
- Courier
- DEF_ENDLIST
- DEF_PROPERTY
- FontStyle
- int
- setFont(new Font(getFont().getName(), AVALUE, getFont().getSize()));
- AVALUE = getFont().getStyle();
- Font.PLAIN
- DEF_ENDLIST
- DEF_PROPERTY
- FontSize
- int
- setFont(new Font(getFont().getName(), getFont().getStyle(), AVALUE));
- AVALUE = getFont().getSize();
- 10
- DEF_ENDLIST
- DEF_ENDCOMPONENT
- DEF_COMPONENTNAME
- SmtpComp_subjText
- DEF_SUPERCLASS
- TextField
- DEF_SUPERCOMPONENT
- SmtpComp
- DEF_PACKAGE
- mojo
- networking
- subcomponents
- smtpcomp
- DEF_ENDLIST
- DEF_SUBCOMPONENTLIST
- DEF_ENDLIST
- DEF_SUBCOMPONENTCLASSLIST
- DEF_ENDLIST
- DEF_CATEGORY
-
- DEF_BITMAP
-
- DEF_THUMBNAIL_UP
- ntex-ed.bmp
- DEF_THUMBNAIL_DOWN
- d-ntex-ed.bmp
- DEF_VISUAL
- DEF_IMPORTS
- DEF_ENDLIST
- DEF_REQUIRES
- DEF_ENDLIST
- DEF_IMPLEMENTS
- DEF_ENDLIST
- DEF_DECLARATION
- // TextField is a component that allows the editing of a single line of text.
- DEF_ENDLIST
- DEF_PROPERTY
- Top
- int
- move(bounds().x, AVALUE);
- AVALUE = bounds().y;
- 130
- DEF_ENDLIST
- DEF_PROPERTY
- Left
- int
- move(AVALUE, bounds().y);
- AVALUE = bounds().x;
- 29
- DEF_ENDLIST
- DEF_PROPERTY
- Height
- int
- resize(bounds().width, AVALUE);
- AVALUE = bounds().height;
- 22
- DEF_ENDLIST
- DEF_PROPERTY
- Width
- int
- resize(AVALUE, bounds().height);
- AVALUE = bounds().width;
- 348
- DEF_ENDLIST
- DEF_PROPERTY
- ForegroundColor
- Color
- setForeground(AVALUE);
- AVALUE = getForeground();
- Color.black
- DEF_ENDLIST
- DEF_PROPERTY
- BackgroundColor
- Color
- setBackground(AVALUE);
- AVALUE = getBackground();
- Color.white
- DEF_ENDLIST
- DEF_PROPERTY
- FontName
- String
- setFont(new Font(AVALUE, getFont().getStyle(), getFont().getSize()));
- AVALUE = getFont().getName();
- Courier
- DEF_ENDLIST
- DEF_PROPERTY
- FontStyle
- int
- setFont(new Font(getFont().getName(), AVALUE, getFont().getSize()));
- AVALUE = getFont().getStyle();
- Font.PLAIN
- DEF_ENDLIST
- DEF_PROPERTY
- FontSize
- int
- setFont(new Font(getFont().getName(), getFont().getStyle(), AVALUE));
- AVALUE = getFont().getSize();
- 10
- DEF_ENDLIST
- DEF_ENDCOMPONENT
- DEF_COMPONENTNAME
- SmtpComp_toText
- DEF_SUPERCLASS
- TextField
- DEF_SUPERCOMPONENT
- SmtpComp
- DEF_PACKAGE
- mojo
- networking
- subcomponents
- smtpcomp
- DEF_ENDLIST
- DEF_SUBCOMPONENTLIST
- DEF_ENDLIST
- DEF_SUBCOMPONENTCLASSLIST
- DEF_ENDLIST
- DEF_CATEGORY
-
- DEF_BITMAP
-
- DEF_THUMBNAIL_UP
- ntex-ed.bmp
- DEF_THUMBNAIL_DOWN
- d-ntex-ed.bmp
- DEF_VISUAL
- DEF_IMPORTS
- DEF_ENDLIST
- DEF_REQUIRES
- DEF_ENDLIST
- DEF_IMPLEMENTS
- DEF_ENDLIST
- DEF_DECLARATION
- // TextField is a component that allows the editing of a single line of text.
- DEF_ENDLIST
- DEF_PROPERTY
- Top
- int
- move(bounds().x, AVALUE);
- AVALUE = bounds().y;
- 30
- DEF_ENDLIST
- DEF_PROPERTY
- Left
- int
- move(AVALUE, bounds().y);
- AVALUE = bounds().x;
- 90
- DEF_ENDLIST
- DEF_PROPERTY
- Height
- int
- resize(bounds().width, AVALUE);
- AVALUE = bounds().height;
- 24
- DEF_ENDLIST
- DEF_PROPERTY
- Width
- int
- resize(AVALUE, bounds().height);
- AVALUE = bounds().width;
- 121
- DEF_ENDLIST
- DEF_PROPERTY
- ForegroundColor
- Color
- setForeground(AVALUE);
- AVALUE = getForeground();
- Color.black
- DEF_ENDLIST
- DEF_PROPERTY
- BackgroundColor
- Color
- setBackground(AVALUE);
- AVALUE = getBackground();
- Color.white
- DEF_ENDLIST
- DEF_PROPERTY
- FontName
- String
- setFont(new Font(AVALUE, getFont().getStyle(), getFont().getSize()));
- AVALUE = getFont().getName();
- Courier
- DEF_ENDLIST
- DEF_PROPERTY
- FontStyle
- int
- setFont(new Font(getFont().getName(), AVALUE, getFont().getSize()));
- AVALUE = getFont().getStyle();
- Font.PLAIN
- DEF_ENDLIST
- DEF_PROPERTY
- FontSize
- int
- setFont(new Font(getFont().getName(), getFont().getStyle(), AVALUE));
- AVALUE = getFont().getSize();
- 10
- DEF_ENDLIST
- DEF_ENDCOMPONENT
-