input stringlengths 10 828 | output stringlengths 5 107 |
|---|---|
public void set event string e if is different event e string old val this event event e reload property change support fire property change event old val this event | if this is set null this event is rendered as anchor |
public void set event target low level event listener t if is different request target t low level event listener old val this request target request target t reload property change support fire property change event target old val this request target | sets the low level event listener for which to create a event |
protected boolean is showing children return true | indicates if this container is actually showing its children |
public string create unique id return string util to identifier string get unique id | creates a session context unique id that can be used as an identifier |
public void set focused component scomponent component this focused component component | specifies which component should get the focus after the popup has been shown |
public void set selection background color color color old val this get selection background set attribute selector selected cssproperty background color cssstyle sheet get attribute color property change support fire property change selection background old val this get selection background | set the foreground color |
public void register drag source drag source drag source don t add a component more than once if drag sources contains drag source drag sources add drag source names to components map put scomponent drag source get name scomponent drag source | register a drag source with the manager |
public void deregister drag source drag source drag source drag sources remove drag source names to components map remove scomponent drag source get name | deregister a drag source |
public void register drop target drop target drop target don t add a component more than once if drop targets contains drop target drop targets add drop target names to components map put scomponent drop target get name scomponent drop target | register a drop target with the manager |
public void deregister drop target drop target drop target drop targets remove drop target names to components map remove scomponent drop target get name | deregister a drop target |
public void exit string redirect address this exit address redirect address get reload manager set suppress mode true for sframe frame new array list sframe frames frame hide get reload manager set suppress mode false | exit the current session and redirect to other url |
public void set action command string ac string old val this action command action command ac property change support fire property change action command old val this action command | sets the action command for this button |
public simple url get url request url request url request url session manager get session get property request url if request url null request url request url request url clone request url set resource url to string return request url else return url | returns the url the icon can be fetched from |
public color get selection foreground return dynamic styles null dynamic styles get selector selected null null cssstyle sheet get foreground cssattribute set dynamic styles get selector selected | return the foreground color |
public void set show as form component boolean show as form component if this show as form component show as form component boolean old val this show as form component this show as form component show as form component reload property change support fire property change show as form component old val this show as form component | set display mode href or form component |
public void set selection foreground color color color old val this get selection foreground set attribute selector selected cssproperty color cssstyle sheet get attribute color property change support fire property change selection foreground old val this get selection foreground | set the foreground color |
public void set type string t if is different type t string old val this type type t reload property change support fire property change type old val this type | sets the button type |
public void set selection font sfont font sfont old val this get selection font set attributes selector selected cssstyle sheet get attributes font property change support fire property change selection font old val this get selection font | set the font |
public void set action map action map action map action map old val this action map this action map action map property change support fire property change action map old val this action map | binds action names to |
public sfont get selection font return dynamic styles null dynamic styles get selector selected null null cssstyle sheet get font cssattribute set dynamic styles get selector selected | return the font |
public action map get action map if action map null action map new action map return action map | action map for key binding feature |
public color get header background return dynamic styles null dynamic styles get selector header null null cssstyle sheet get background cssattribute set dynamic styles get selector header | return the background color |
public void set input map input map input map set input map when focused or ancestor of focused component input map | map for key binding feature |
public void set selected index int index int old val this get selected index get selection model set selection interval index index property change support fire property change selected index old val this get selected index | select a single cell |
public string put cssproperty name string value cached string representation null if map null map new hash map cssproperty string 8 if value null return remove name return string map put name value | adds an attribute to the list |
public boolean put all cssattribute set attributes cached string representation null if map null map new hash map cssproperty string 8 boolean changed false for map entry cssproperty string entry1 attributes properties entry set map entry entry map entry entry1 cssproperty property cssproperty entry get key changed changed put property string entry get value null return changed | adds a set of attributes to the list |
public void set header background color color color old val this get header background set attribute selector header cssproperty background color cssstyle sheet get attribute color property change support fire property change header background old val this get header background | set the foreground color |
public string remove cssproperty name cached string representation null return map null null string map remove name | removes an attribute from the list |
public void set input map int condition input map input map init input maps input map old val input maps condition this input maps condition input map register global input map with frame property change support fire property change input map old val this input maps condition | sets the current input map |
public void set selected indices int indices list selection model sm get selection model int old val this get selected indices sm clear selection for int i 0 i indices length i sm add selection interval indices i indices i property change support fire property change selected indices old val this get selected indices | select some cells |
public void write device out throws ioexception for map entry selector style entry1 map entry set map entry entry map entry entry1 style entry get value write out out flush | write each style in set to the device |
public color get header foreground return dynamic styles null dynamic styles get selector header null null cssstyle sheet get foreground cssattribute set dynamic styles get selector header | return the foreground color |
public void import style sheet url url try input stream is url open stream reader r new buffered reader new input stream reader is css parser parser new css parser parser parse url r false true r close is close catch throwable e log warn unable to import css defintions from url e on error we simply have no styles the html will look mighty wrong but still function | reads and imports a style sheet file accessible via the passed url |
public boolean is word wrap return word wrap | determiens if the label text word wrap inside the browser |
public cssattribute set parse declaration string string try return parse declaration new string reader string catch ioexception ioe return null | parses the passed in css declaration into an cssproperty set |
public void set word wrap boolean word wrap if this word wrap word wrap boolean old val this word wrap this word wrap word wrap reload property change support fire property change word wrap old val this word wrap | defines if the label is allowed to wrap |
public void set header foreground color color color old val this get header foreground set attribute selector header cssproperty color cssstyle sheet get attribute color property change support fire property change header foreground old val this get header foreground | set the foreground color |
public cssattribute set parse declaration reader r throws ioexception parse base r true false return new cssattribute set declaration | parses the passed in css declaration into an cssproperty set |
public void set header font sfont font sfont old val this get header font set attributes selector header cssstyle sheet get attributes font property change support fire property change header font old val this get header font | set the font |
public sfont get header font return dynamic styles null dynamic styles get selector header null null cssstyle sheet get font cssattribute set dynamic styles get selector header | return the font |
public void handle value string value if property name null declaration put new cssproperty property name value property name null | invoked when a property value is encountered |
public void end rule int n selectors size for int i 0 i n i string selector string selectors get i for int j selector length 1 j 0 j cssstyle sheet this put style new cssstyle new selector selector j declaration declaration clear selectors clear | invoked when the end of a rule is encountered |
public void set header visible boolean hv boolean old header visible header visible header visible hv if old header visible header visible reload property change support fire property change header visible old header visible this header visible | sets p determines whether the header is visible or not |
public cssproperty intern if instance pool contains key name return instance pool get name else instance pool put name this return this | when the intern method is invoked if the pool already contains a |
public request url add parameter string parameter if parameter null if parameters null parameters new string builder else parameters append amp parameters append recode parameter return this | add an additional parameter to be included in the get paramter |
public request url add parameter string name string value add parameter name parameters append append recode value return this | add an additional name value pair to be included in the get paramter |
public request url add parameter low level event listener comp string value add parameter comp get low level event id value return this | add an additional name value pair to be included in the get paramter |
public void fire final events fire key events | internal event trigger used by cgs |
public void clear if parameters null parameters set length 0 set event epoch null set resource null | clear all additional paramters given in the |
public void write device d throws ioexception super write d if resource null event epoch null d print event epoch d print sconstants uid divider if resource null d print resource else the default resource name work around a bug in some browsers that fail to assemble urls todo verify and give better explanation here d print default resource name if base parameters null d print base parameters if parameters null parameters length 0 d print has quest mark amp d print parameters to string | writes the context address to the output device |
public string to string string builder erg new string builder if base url null erg append base url if resource null event epoch null erg append event epoch erg append sconstants uid divider if resource null erg append resource else erg append default resource name if base parameters null erg append base parameters if parameters null parameters length 0 erg append has quest mark erg append parameters to string return erg to string | returns the string representation of the context url plus |
protected void init buttons ok set event ok ok set icon ok button icon ok set tool tip text ok ok set event target editor panel cancel set event cancel cancel set icon cancel button icon cancel set tool tip text cancel cancel set event target editor panel editor panel add ok editor panel add cancel | intializes the buttons with default icons tooltip text and listener |
protected void fire key events if action events null for map entry action action event entry action events entry set action action entry get key action event event entry get value action action performed event action events clear | internal method to trigger firing of key events |
public void set show horizontal lines boolean b boolean old show horizontal lines show horizontal lines show horizontal lines b if show horizontal lines old show horizontal lines reload property change support fire property change show horizontal lines old show horizontal lines this show horizontal lines | sets p determines if horizontal lines in the table should be |
public void set editable boolean ed boolean old editable editable editable ed if editable old editable reload property change support fire property change editable old editable this editable | defines if the textcomponent is editable or not |
public void set text string text string old val document get text document set text text property change support fire property change text old val document get text | sets the text of the component to the specified text |
public void set template template source source throws ioexception template source source | sets the template from the data source |
public void set show vertical lines boolean b boolean old show vertical lines show vertical lines show vertical lines b if show vertical lines old show vertical lines reload property change support fire property change show vertical lines old show vertical lines this show vertical lines | sets p determines if vertical lines in the table should be |
public void set viewport size rectangle new viewport rectangle old viewport viewport viewport new viewport if is different old viewport new viewport if old viewport null new viewport null fire viewport changed true fire viewport changed false else if new viewport x old viewport x new viewport width old viewport width fire viewport changed true if new viewport y old viewport y new viewport height old viewport height fire viewport changed false reload property change support fire property change biew port size old viewport this viewport | sets the actual visible part of a scrollable |
public page parser get page parser return page parser null page parser page parser get instance | retrieve the page parser of this instance |
public double get accelerator width scale factor return accelerator width scale factor | this factor will be used to layout the menu |
public void set accelerator width scale factor double accelerator width scale factor this accelerator width scale factor accelerator width scale factor | this factor will be used to layout the menu |
public void set type string t if radiobutton equals t throw new illegal argument exception type change not supported type is fix radiobutton super set type t | you cannot change type of radio button |
public string get id session session session manager get session if id null session null externalize manager ext session get externalize manager id ext get id ext externalize this externalizer flags log debug new get class get name with id id return id | get the id that identifies this resource as an externalized object |
public void set drop mode sdrop mode drop mode if drop mode null drop mode sdrop mode use selection throw new illegal argument exception drop mode unsupported drop mode if this instanceof stext field log warn set drop mode stext field as drop target will show different drop behaviour in ie than in ff this drop mode drop mode get session get sdrag and drop manager add drop target this | sets the drop mode for this component supports use selection and insert |
protected limited buffer buffer resource throws resource not found exception ioexception try if buffer null if max buffer size 0 buffer new limited buffer else buffer new limited buffer max buffer size input stream resource get resource stream if resource null byte copy buffer new byte 1024 int read while buffer is valid read resource read copy buffer 0 buffer write copy buffer 0 read resource close if buffer is valid size buffer size else log fatal resource returned empty stream this buffer set valid false catch resource not found exception e buffer null throw e return buffer | reads the resource into an limited buffer and returns it |
public void set action command string command string old val this action command action command command property change support fire property change action command old val this action command | sets the action commnand that should be included in the event |
public string get action command if action command null return get text return action command | returns the action commnand that is included in the event sent to |
public void set selection style string new style string old val this selection style selection style new style property change support fire property change selection style old val this selection style | sets the style the cell is drawn with when the cell is selected |
public void set non selection style string new style string old val this non selection style non selection style new style property change support fire property change non selection style old val this non selection style | sets the style the cell is drawn with when the cell isnt selected |
public sicon get icon return icon | returns the icon of the compound |
public void set model index int model index this model index model index | sets the cmp2 index for this column |
public sicon get edit icon return edit icon | the icon to display if the cell value is code null code |
public void set edit icon sicon edit icon sicon old val this edit icon this edit icon edit icon property change support fire property change edit icon old val this edit icon | the icon to display if the cell value is code null code |
public void set header value object header value this header value header value | sets the code object code whose string representation will be |
public void set header renderer stable cell renderer header renderer this header renderer header renderer | sets the code table cell renderer code used to draw the |
public void set cell renderer stable cell renderer cell renderer this cell renderer cell renderer | sets the code table cell renderer code used by code jtable code |
public void set rollover icon sicon icon sicon old val this rollover icon reload if change rollover icon icon rollover icon icon property change support fire property change rollover icon old val this rollover icon | sets the icon that is displayed as roll over effect meaning the icon |
public stable cell renderer get cell renderer return cell renderer | returns the code table cell renderer code used by the |
public sicon get rollover icon return rollover icon | returns the icon that is displayed as roll over effect meaning the icon |
public string get edit parameter int row int col return e row col | wing s internal method used to create specific http request parameter names |
public boolean is column hidden stable column column return column is hidden | indicates if the given column is hidden |
public void set column hidden stable column column boolean hidden if column is hidden hidden column set hidden hidden if hidden fire column hidden column else fire column shown column | indicates if the given column should be hidden |
public void set rollover selected icon sicon icon sicon old val this rollover selected icon reload if change rollover selected icon icon rollover selected icon icon property change support fire property change rollover selected icon old val this rollover selected icon | sets the icon that is displayed as rollover effect of a selected compound |
protected void fire column added stable column model event e object listeners listener list get listener list for int i listeners length 2 i 0 i 2 if listeners i stable column model listener class stable column model listener listeners i 1 column added e | notifies all listeners that have registered interest for |
protected void fire column removed stable column model event e object listeners listener list get listener list for int i listeners length 2 i 0 i 2 if listeners i stable column model listener class stable column model listener listeners i 1 column removed e | notifies all listeners that have registered interest for |
protected void fire column moved stable column model event e object listeners listener list get listener list for int i listeners length 2 i 0 i 2 if listeners i stable column model listener class stable column model listener listeners i 1 column moved e | notifies all listeners that have registered interest for |
public sicon get rollover selected icon return rollover selected icon | returns the the roll over icon of a selected compound |
public void add property change listener property change listener listener if listener null return property change support add property change listener listener | add a property change listener to the listener list |
protected void fire column margin changed object listeners listener list get listener list for int i listeners length 2 i 0 i 2 if listeners i stable column model listener class lazily create the event if change event null change event new change event this stable column model listener listeners i 1 column margin changed change event | notifies all listeners that have registered interest for |
protected void fire column shown stable column column object listeners listener list get listener list for int i listeners length 2 i 0 i 2 if listeners i stable column model listener class stable column model listener listeners i 1 column shown new change event column | notifies all listeners that have registered interest for |
protected void fire column hidden stable column column object listeners listener list get listener list for int i listeners length 2 i 0 i 2 if listeners i stable column model listener class stable column model listener listeners i 1 column hidden new change event column | notifies all listeners that have registered interest for |
public void set selected icon sicon icon sicon old val this selected icon reload if change selected icon icon selected icon icon property change support fire property change selected icon old val this selected icon | sets the icon that is displayed when a compound is selected |
public t get value wrapper t value wrapper value wrapper t session manager get session get property this property name null means that the property is being used for the first time this session initialize the value which may be null if value wrapper null t value initial value set value return value else return value wrapper value | return the current value of this variable from the session |
public void set t value value wrapper t value wrapper new value wrapper t value wrapper value value session manager get session set property this property name value wrapper | set the value |
public void remove session manager get session set property this property name null | remove the value |
public string get char set locale a locale string charset null if a locale null return default encoding charset charset map get property a locale get country a locale get language if charset null charset charset map get property a locale get country if charset null charset charset map get property a locale get language return charset null charset default encoding | try to find a matching character set for this locale |
public sicon get selected icon return selected icon | returns the icon of a selected compound |
public string get toggle selection parameter int row int col return t row col | wing s internal method used to create specific http request parameter names |
public void set disabled selected icon sicon icon sicon old val this disabled selected icon reload if change disabled selected icon icon disabled selected icon icon property change support fire property change disabled selected icon old val this disabled selected icon | sets the icon that is displayed when a selected compound is disabled |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.