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
3c07f6e1
Kaydet (Commit)
3c07f6e1
authored
Tem 09, 2013
tarafından
Jürgen Schmidt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#121510# apply patch to handle new focus check in Java 7
Patch By: David Ostrovsky Reviewed By: jsc
üst
df03a043
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
88 additions
and
9 deletions
+88
-9
ComboBox.java
...ty/bridge/org/openoffice/java/accessibility/ComboBox.java
+12
-0
Dialog.java
...lity/bridge/org/openoffice/java/accessibility/Dialog.java
+30
-9
Frame.java
...ility/bridge/org/openoffice/java/accessibility/Frame.java
+23
-0
Window.java
...lity/bridge/org/openoffice/java/accessibility/Window.java
+23
-0
No files found.
accessibility/bridge/org/openoffice/java/accessibility/ComboBox.java
Dosyayı görüntüle @
3c07f6e1
...
...
@@ -110,4 +110,16 @@ public class ComboBox extends Container {
return
1
;
}
}
/**
* Returns whether this Component can be focused.
*
* @return <code>true</code> if this Component is focusable;
* <code>false</code> otherwise.
* @see #setFocusable
* @since 1.4
*/
public
boolean
isFocusable
()
{
return
true
;
}
}
accessibility/bridge/org/openoffice/java/accessibility/Dialog.java
Dosyayı görüntüle @
3c07f6e1
...
...
@@ -118,19 +118,40 @@ public class Dialog extends java.awt.Dialog implements javax.accessibility.Acces
public
void
removeNotify
()
{
}
/**
* Determines if the object is visible. Note: this means that the
* object intends to be visible; however, it may not in fact be
* showing on the screen because one of the objects that this object
* is contained by is not visible. To determine if an object is
* showing on the screen, use <code>isShowing</code>.
*
* @return true if object is visible; otherwise, false
*/
/**
* Determines if the object is visible. Note: this means that the
* object intends to be visible; however, it may not in fact be
* showing on the screen because one of the objects that this object
* is contained by is not visible. To determine if an object is
* showing on the screen, use <code>isShowing</code>.
*
* @return true if object is visible; otherwise, false
*/
public
boolean
isVisible
(){
return
visible
;
}
/**
* Determines whether this component is displayable. A component is
* displayable when it is connected to a native screen resource.
* <p>
* A component is made displayable either when it is added to
* a displayable containment hierarchy or when its containment
* hierarchy is made displayable.
* A containment hierarchy is made displayable when its ancestor
* window is either packed or made visible.
* <p>
* A component is made undisplayable either when it is removed from
* a displayable containment hierarchy or when its containment hierarchy
* is made undisplayable. A containment hierarchy is made
* undisplayable when its ancestor window is disposed.
*
* @return <code>true</code> if the component is displayable
*/
public
boolean
isDisplayable
()
{
return
true
;
}
/**
* Shows or hides this component depending on the value of parameter
* <code>b</code>.
...
...
accessibility/bridge/org/openoffice/java/accessibility/Frame.java
Dosyayı görüntüle @
3c07f6e1
...
...
@@ -638,5 +638,28 @@ public class Frame extends java.awt.Frame implements javax.accessibility.Accessi
unoAccessibleComponent
.
grabFocus
();
}
}
/**
* Determines whether this component is displayable. A component is
* displayable when it is connected to a native screen resource.
* <p>
* A component is made displayable either when it is added to
* a displayable containment hierarchy or when its containment
* hierarchy is made displayable.
* A containment hierarchy is made displayable when its ancestor
* window is either packed or made visible.
* <p>
* A component is made undisplayable either when it is removed from
* a displayable containment hierarchy or when its containment hierarchy
* is made undisplayable. A containment hierarchy is made
* undisplayable when its ancestor window is disposed.
*
* @return <code>true</code> if the component is displayable
*/
@Override
public
boolean
isDisplayable
()
{
return
true
;
}
}
accessibility/bridge/org/openoffice/java/accessibility/Window.java
Dosyayı görüntüle @
3c07f6e1
...
...
@@ -543,5 +543,28 @@ public class Window extends java.awt.Window implements javax.accessibility.Acces
unoAccessibleComponent
.
grabFocus
();
}
}
/**
* Determines whether this component is displayable. A component is
* displayable when it is connected to a native screen resource.
* <p>
* A component is made displayable either when it is added to
* a displayable containment hierarchy or when its containment
* hierarchy is made displayable.
* A containment hierarchy is made displayable when its ancestor
* window is either packed or made visible.
* <p>
* A component is made undisplayable either when it is removed from
* a displayable containment hierarchy or when its containment hierarchy
* is made undisplayable. A containment hierarchy is made
* undisplayable when its ancestor window is disposed.
*
* @return <code>true</code> if the component is displayable
*/
@Override
public
boolean
isDisplayable
()
{
return
true
;
}
}
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