This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
|
swing:text_fields [2018/03/27 16:53] gthanos [Document Listeners] |
swing:text_fields [2018/03/27 17:03] gthanos [Document Listeners] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Text Fields, Text Areas ====== | + | ====== Text Fields |
| <WRAP info 70% round center> | <WRAP info 70% round center> | ||
| Line 106: | Line 106: | ||
| </ | </ | ||
| - | ===== Document | + | ===== Η κλάση |
| - | Κάθε component ή κάθε κατηγορία component | + | Τόσο τα **TextFields** όσο και τα **TextAreas** περιέχουν ένα αντικείμενο της |
| + | |||
| + | Οι μέθοδοι του interface | ||
| <code java> | <code java> | ||
| + | //Gives notification that an attribute or set of attributes changed. | ||
| void changedUpdate(DocumentEvent e); | void changedUpdate(DocumentEvent e); | ||
| - | //Gives notification that an attribute or set of attributes changed. | + | //Gives notification that there was an insert into the document. |
| void insertUpdate(DocumentEvent e); | void insertUpdate(DocumentEvent e); | ||
| - | //Gives notification that there was an insert into the document. | + | //Gives notification that a portion of the document |
| void removeUpdate(DocumentEvent e); | void removeUpdate(DocumentEvent e); | ||
| - | //Gives notification that a portion of the document has been removed. | ||
| </ | </ | ||