Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
d19c12a1
Kaydet (Commit)
d19c12a1
authored
Nis 11, 2003
tarafından
Vladimir Glazounov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS vcl07 (1.3.2); FILE ADDED
2003/04/08 14:29:07 obr 1.3.2.1: re-added accessibility workbench
üst
3b78f972
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
0 deletions
+50
-0
VectorNode.java
toolkit/test/accessibility/VectorNode.java
+50
-0
No files found.
toolkit/test/accessibility/VectorNode.java
0 → 100644
Dosyayı görüntüle @
d19c12a1
import
com.sun.star.lang.IndexOutOfBoundsException
;
import
java.util.Vector
;
/** The VectorNode class is a simple container whose list of children is
managed entirely by its owner.
*/
class
VectorNode
extends
StringNode
{
private
Vector
maChildren
;
public
VectorNode
(
String
sDisplayObject
,
AccessibleTreeNode
aParent
)
{
super
(
sDisplayObject
,
aParent
);
maChildren
=
new
Vector
();
}
public
void
addChild
(
AccessibleTreeNode
aChild
)
{
maChildren
.
add
(
aChild
);
}
public
int
getChildCount
()
{
return
maChildren
.
size
();
}
public
AccessibleTreeNode
getChild
(
int
nIndex
)
throws
IndexOutOfBoundsException
{
return
(
AccessibleTreeNode
)
maChildren
.
elementAt
(
nIndex
);
}
public
boolean
removeChild
(
int
nIndex
)
throws
IndexOutOfBoundsException
{
return
maChildren
.
remove
(
nIndex
)
!=
null
;
}
public
int
indexOf
(
AccessibleTreeNode
aNode
)
{
return
maChildren
.
indexOf
(
aNode
);
}
public
boolean
isLeaf
()
{
return
maChildren
.
isEmpty
();
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment