Re: naming conventions
From: P.Hill (goodhill.REMOVE_at_xmissionREMOVE.com)
Date: 06/30/04
- Next message: Yu SONG: "Re: read information from textfile in string"
- Previous message: P.Hill: "Re: Trouble with Java concepts"
- In reply to: Alexandr Molochnikov: "Re: naming conventions"
- Next in thread: Roedy Green: "Re: naming conventions"
- Reply: Roedy Green: "Re: naming conventions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 29 Jun 2004 16:21:48 -0700
Alexandr Molochnikov wrote:
>>2. sucking data out of GUI components, and validating it.
>
>
> Getter methods. For JComponent this would be getText(). Again, for
> generality reasons, one can use getValue() that returns an Object, like Date
> or Boolean, or getInteger(), getDouble() etc. for primitives.
>
I think Roedy may have been asking about name of the controller method which
calls the getters and does the validation, not the name of the getter.
-Paul
- Next message: Yu SONG: "Re: read information from textfile in string"
- Previous message: P.Hill: "Re: Trouble with Java concepts"
- In reply to: Alexandr Molochnikov: "Re: naming conventions"
- Next in thread: Roedy Green: "Re: naming conventions"
- Reply: Roedy Green: "Re: naming conventions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|