2011-01-04 2 views
0

BlackBerry에서 TreeField의 자식 노드에 이미지를 추가 할 수 있습니까? 예인 경우 그 중 하나를 수행 할 수있는 방법을 알려주십시오.TreeField에 BitmapField 추가

답변

0

ListField와 마찬가지로 TreeField는 Manager의 하위 클래스가 아니므로 다른 필드를 추가 할 수 없습니다. TreeField는 확장, 수축 사용자 입력을 관리하고 호출에 의해 그려 질 neeeds 어떤 응용 프로그램에 알립니다 :

net.rim.device.api.ui.component.TreeFieldCallback.drawTreeItem(TreeField treeField, Graphics graphics, int node, int y, int width, int indent) 

응용 프로그램이 표시되어야 무엇을 그리기위한 다음 책임이 있습니다.

0

가능한

사용

TreeFieldCallback.drawTreeItem(TreeField treeField, Graphics graphics, int node, int y, int width, int indent) 

방법

내부

g.drawBitmap(...); 

관련 문제