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
c4ea81a0
Kaydet (Commit)
c4ea81a0
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.9.66); FILE MERGED
2003/04/08 14:28:23 obr 1.9.66.1: re-added accessibility workbench
üst
a8724833
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
4 deletions
+30
-4
AccTreeNode.java
toolkit/test/accessibility/AccTreeNode.java
+30
-4
No files found.
toolkit/test/accessibility/AccTreeNode.java
Dosyayı görüntüle @
c4ea81a0
...
...
@@ -174,6 +174,29 @@ class AccTreeNode
return
null
;
}
public
AccessibleTreeNode
getChildNoCreate
(
int
nIndex
)
throws
IndexOutOfBoundsException
{
if
(
nIndex
>=
0
)
{
for
(
int
i
=
0
;
i
<
maHandlers
.
size
();
i
++)
{
// check if this handler has the child, and if not
// search with next handler
HandlerDescriptor
aDescriptor
=
getHandlerDescriptor
(
i
);
if
(
nIndex
<
aDescriptor
.
mnChildCount
)
return
aDescriptor
.
maHandler
.
getChildNoCreate
(
this
,
nIndex
);
else
nIndex
-=
aDescriptor
.
mnChildCount
;
}
}
else
throw
new
IndexOutOfBoundsException
();
// nothing found?
return
null
;
}
public
boolean
removeChild
(
int
nIndex
)
throws
IndexOutOfBoundsException
{
...
...
@@ -230,7 +253,7 @@ class AccTreeNode
public
boolean
equals
(
Object
aOther
)
{
return
(
this
==
aOther
)
||
aOther
.
equals
(
mxContext
);
return
(
this
==
aOther
)
||
(
aOther
!=
null
&&
aOther
.
equals
(
mxContext
)
);
}
...
...
@@ -297,9 +320,12 @@ class AccTreeNode
The returned array containes the indices of the updated children
and can be used to create a TreeModelEvent.
*/
public
Vector
update
(
java
.
lang
.
Class
class1
)
{
return
update
(
class1
,
null
);
}
public
Vector
update
(
java
.
lang
.
Class
class1
,
java
.
lang
.
Class
class2
)
public
Vector
updateChildren
(
java
.
lang
.
Class
class1
)
{
return
updateChildren
(
class1
,
null
);
}
public
Vector
updateChildren
(
java
.
lang
.
Class
class1
,
java
.
lang
.
Class
class2
)
{
Vector
aChildIndices
=
new
Vector
();
int
nOffset
=
0
;
...
...
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