403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.6/site-packages/orca/scripts/toolkits/J2SE-access-bridge/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/site-packages/orca/scripts/toolkits/J2SE-access-bridge/script.pyo
Ñò
y#ÝJc@s²dZdZdZdZdZddkZddkiZddki	Z	ddk
iZddki
Z
ddkiZddklZddklZd	eifd
„ƒYZdS(s$Id$s
$Revision$s$Date$s-Copyright (c) 2005-2009 Sun Microsystems Inc.tLGPLiÿÿÿÿN(tSpeechGenerator(t
FormattingtScriptcBskeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„ZRS(cCstii||ƒdS(sCreates a new script for Java applications.

        Arguments:
        - app: the application to create a script for.
        N(tdefaultRt__init__(tselftapp((sS/usr/lib/python2.6/site-packages/orca/scripts/toolkits/J2SE-access-bridge/script.pyR-scCs
t|ƒS(s6Returns the speech generator for this script.
        (R(R((sS/usr/lib/python2.6/site-packages/orca/scripts/toolkits/J2SE-access-bridge/script.pytgetSpeechGenerator5scCs
t|ƒS(s/Returns the formatting strings for this script.(R(R((sS/usr/lib/python2.6/site-packages/orca/scripts/toolkits/J2SE-access-bridge/script.pyt
getFormatting:scCsE|i}|djo
d}nti|ƒ|_tii||ƒS(s¿Called when a key is pressed on the keyboard.

        Arguments:
        - keyboardEvent: an instance of input_event.KeyboardEvent

        Returns True if the event is of interest.
        t tspace(tevent_stringtkeybindingst
getKeycodethw_codeRRtconsumesKeyboardEvent(Rt
keyboardEventtkeysym((sS/usr/lib/python2.6/site-packages/orca/scripts/toolkits/J2SE-access-bridge/script.pyR>s

	

cCs½|pdS|i|tititigdƒ}|pdSd}xmtoe|iƒ}|iti	ƒp|iti
ƒo.|itiƒo|d7}n|i}qHPqHW|dS(süDetermines the node level of this object if it is in a tree
        relation, with 0 being the top level node.  If this object is
        not in a tree relation, then -1 will be returned.

        Arguments:
        -obj: the Accessible object
        iÿÿÿÿiiN(
tgetAncestortpyatspit	ROLE_TREEt
ROLE_TABLEtROLE_TREE_TABLEtNonetTruetgetStatetcontainstSTATE_EXPANDABLEtSTATE_COLLAPSEDt
STATE_VISIBLEtparent(Rtobjt
treeLikeThingtcounttstate((sS/usr/lib/python2.6/site-packages/orca/scripts/toolkits/J2SE-access-bridge/script.pytgetNodeLevelWs(				
cCsN|iiƒ}|tijoti||iƒdStii||ƒdS(s]Called whenever an object gets focus.

        Arguments:
        - event: the Event
        N(	tsourcetgetRoleRt	ROLE_MENUtorcatsetLocusOfFocusRRtonFocus(Rteventtrole((sS/usr/lib/python2.6/site-packages/orca/scripts/toolkits/J2SE-access-bridge/script.pyR*xs
cCs¥|iiƒtijoti||iƒdS|iiƒtijoD|i|itigtigƒ}|oti||ƒdSnt	i
i||ƒdS(sžCalled when an object who manages its own descendants detects a
        change in one of its children.

        Arguments:
        - event: the Event
        N(R%R&RtROLE_COMBO_BOXR(tvisualAppearanceChangedt	ROLE_LISTRt
ROLE_PANELRRtonActiveDescendantChanged(RR+tcombobox((sS/usr/lib/python2.6/site-packages/orca/scripts/toolkits/J2SE-access-bridge/script.pyR1’s
		cCs|i|itititigƒ}|oXttit	i
ƒotii}nd}|djpttit	iƒodSntii||ƒdS(NtUptDown(R3R4(tisDesiredFocusedItemR%Rt	ROLE_TEXTR0tROLE_SPIN_BUTTONt
isinstancet
orca_statetlastInputEventtinput_eventt
KeyboardEventtlastNonModifierKeyEventRRtMouseButtonEventRRtonCaretMoved(RR+t	isSpinBoxteventStr((sS/usr/lib/python2.6/site-packages/orca/scripts/toolkits/J2SE-access-bridge/script.pyR?­s
	

	
	cCs»|iiƒtititigjo||iiƒitiƒo`|i}|ii	o6|ii
ƒ}|idjo|idƒ}qnt
i||ƒntii||ƒdS(sbCalled when an object's selection changes.

        Arguments:
        - event: the Event
        iN(R%R&RR/tROLE_PAGE_TAB_LISTRRRt
STATE_FOCUSEDt
childCounttquerySelectiontnSelectedChildrentgetSelectedChildR(R)RRtonSelectionChanged(RR+tnewFocust	selection((sS/usr/lib/python2.6/site-packages/orca/scripts/toolkits/J2SE-access-bridge/script.pyRHÈs	
cCs¹|iiƒtijo+|iidƒoti||iƒdS|iiƒtijoß|iidƒoÌ|i	djo¼x¹|iD]ª}|iƒti
joŽ|i|tit
ƒ}t|ƒdjo_|i|dtit
ƒ}x@|D]4}|iƒitiƒoti||ƒdSqôWq4qŠqŠWn|iidƒoS|iiƒtijo:|iiiƒitiƒoti||iiƒdStii||ƒdS(sbCalled whenever an object's state changes.

        Arguments:
        - event: the Event
        sobject:state-changed:expandedNsobject:state-changed:focusediisobject:state-changed:visible(R%R&Rt
ROLE_LABELttypet
startswithR(R.tROLE_ROOT_PANEtdetail1tROLE_LAYERED_PANEt
findByRoletROLE_POPUP_MENUtFalsetlentROLE_MENU_ITEMRRtSTATE_ARMEDR)RRCRRtonStateChanged(RR+tchildtpopuptitemstitem((sS/usr/lib/python2.6/site-packages/orca/scripts/toolkits/J2SE-access-bridge/script.pyRWás4
	
	
cCs|iiƒtijodS|iiƒtijoOytiii|ij}Wn
t}nX|o|i	|tiƒdSnt
ii||ƒdS(sbCalled whenever an object's value changes.

        Arguments:
        - event: the Event
        N(
R%R&RtROLE_TOGGLE_BUTTONR7R9tlocusOfFocusRRSt_presentTextAtNewCaretPositionRRtonValueChanged(RR+tthisBox((sS/usr/lib/python2.6/site-packages/orca/scripts/toolkits/J2SE-access-bridge/script.pyR_s

	
	(
t__name__t
__module__RRR	RR$R*R1R?RHRWR_(((sS/usr/lib/python2.6/site-packages/orca/scripts/toolkits/J2SE-access-bridge/script.pyR+s					!					3(t__id__t__version__t__date__t
__copyright__t__license__Rtorca.defaultRtorca.input_eventR;t	orca.orcaR(torca.orca_stateR9torca.keybindingsR
tspeech_generatorRt
formattingRR(((sS/usr/lib/python2.6/site-packages/orca/scripts/toolkits/J2SE-access-bridge/script.pyt<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit