Development #721

[UFRN] com.sun.dtv.lwuit.Form

Added by Diogo Henrique over 6 years ago. Updated over 6 years ago.

Status:Rejected Start date:03/09/2012
Priority:Normal Due date:10/09/2012
Assignee:Arthur Macêdo % Done:

100%

Category:-
Target version:- Estimated time:5.00 hours

Description

Desenvolver uma aplicação para cada método a seguir:
1. public Form getComponentForm()
2. public Container getContentPane()
3. public Command getDefaultCommand()
4. public Component getFocused()
5. public Painter getGlassPane()
6. public int getScrollAnimationSpeed()
7. public Button getSoftButton(int offset)
8. public int getSoftButtonCount()

GetComponentForm.java.zip (753 Bytes) Arthur Macêdo, 26/12/2012 00:50

GetContentPane.java.zip (601 Bytes) Arthur Macêdo, 26/12/2012 00:51

GetDefaultCommand.java.zip (675 Bytes) Arthur Macêdo, 26/12/2012 00:51

GetFocused.java.zip (698 Bytes) Arthur Macêdo, 26/12/2012 00:52

GetGlassPane.java.zip (706 Bytes) Arthur Macêdo, 26/12/2012 00:52

GetScrollAnimationSpeed.java.zip (645 Bytes) Arthur Macêdo, 26/12/2012 00:53

GetSoftButton.java.zip (666 Bytes) Arthur Macêdo, 26/12/2012 00:53

GetSoftButtonCount.java.zip (706 Bytes) Arthur Macêdo, 26/12/2012 00:54

History

Updated by Arthur Macêdo over 6 years ago

  • % Done changed from 0 to 70
  • % Done changed from 0 to 70

Updated by Arthur Macêdo over 6 years ago

  • File form.zip added

Updated by Arthur Macêdo over 6 years ago

  • File form.zip added
  • % Done changed from 70 to 100
  • % Done changed from 70 to 100

No teste do método getSoftbuttonCount, observei que sua implementação na classe Form (no código fonte disponível no emulador)é a seguinte:
public int getSoftButtonCount() {
// return this.softButtonCount;
return 0;
}
O teste falha, a meu ver, pois mesmo existindo um softButton instanciado, sempre retorna 0, como verificado. Esse retorno dá a idéia de que o método não tem utilidade.

Updated by Arthur Macêdo over 6 years ago

  • File deleted (form.zip)

Updated by Arthur Macêdo over 6 years ago

  • File deleted (form.zip)

Updated by Arthur Macêdo over 6 years ago

  • File form.zip added
  • Estimated time set to 5.00
  • Estimated time set to 5.00

Updated by Arthur Macêdo over 6 years ago

Todos os métodos revisados e adequados para rodar no ambiente astrobox

Updated by Arthur Macêdo over 6 years ago

  • File deleted (form.zip)

Also available in: Atom PDF