input
stringlengths
10
828
output
stringlengths
5
107
public void set cx string cx this cx cx
sets the cx
public void set cy string cy this cy cy
sets the cy
public void set rx string rx this rx rx
sets the rx
public void set ry string ry this ry ry
sets the ry
public string get r return r
returns the r
public void set r string r this r r
sets the r
public string get x1 return x1
returns the x1
public string get x2 return x2
returns the x2
public string get y1 return y1
returns the y1
public string get y2 return y2
returns the y2
public void set x1 string x1 this x1 x1
sets the x1
public void set y1 string y1 this y1 y1
sets the y1
public void set y2 string y2 this y2 y2
sets the y2
public void set xml base string xml base this xml base xml base
from the w3 c recommendation
public void set required features string required features this required features required features
from the w3 c recommendation
public string get required features return required features
from the w3 c recommendation
public void set required extensions string required extensions this required extensions required extensions
from the w3 c recommendation
public string get required extensions return required extensions
from the w3 c recommendation
public void set system language string system language this system language system language
from the w3 c recommendation
public string getsystem language return system language
from the w3 c recommendation
public void set on focus in string on focus in this on focus in on focus in
from the w3 c recommendation
public string get on focus in return on focus in
from the w3 c recommendation
public void set on focus out string on focus out this on focus out on focus out
from the w3 c recommendation
public string get on focus out return on focus out
from the w3 c recommendation
public void set on activate string on activate this on activate on activate
from the w3 c recommendation
public string get on activate return on activate
from the w3 c recommendation
public void set on mouse down string on mouse down this on mouse down on mouse down
from the w3 c recommendation
public string get on mouse down return on mouse down
from the w3 c recommendation
public void set on mouse up string on mouse up this on mouse up on mouse up
from the w3 c recommendation
public string get on mouse up return on mouse up
from the w3 c recommendation
public void set on mouse move string on mouse move this on mouse move on mouse move
from the w3 c recommendation
public string get on mouse move return on mouse move
from the w3 c recommendation
private void initialize j label new jlabel j label set bounds new rectangle 133 13 113 27 j label set text tworzenie siatki this set size 396 222 this set layout null this add get jprogress bar null this add j label null this add get jbutton null
this method initializes this
private jprogress bar get jprogress bar if j progress bar null j progress bar new jprogress bar j progress bar set bounds new rectangle 12 46 368 26 j progress bar set indeterminate true return j progress bar
this method initializes j progress bar
private jbutton get jbutton if j button null j button new jbutton j button set bounds new rectangle 124 87 131 22 j button set text przerwij j button add action listener new java awt event action listener public void action performed java awt event action event e system out println action performed todo auto generated event stub action performed thread interrupt progress this d set visible false return j button
this method initializes j button
private void initialize this set size new dimension 859 845 this set title viewer this set content pane get jpanel
this method initializes this
private jscroll pane get strony zpolaczeniami if strony zpolaczeniami null strony zpolaczeniami new jscroll pane strony zpolaczeniami set bounds new rectangle 28 129 812 190 strony zpolaczeniami set horizontal scroll bar policy jscroll pane horizontal scrollbar always strony zpolaczeniami set viewport view get tabela stron zpolaczeniami return strony zpolaczeniami
this method initializes strony zpolaczeniami
private jtable get tabela stron zpolaczeniami 1 kolumna nazwa strony 2 kolumna ilosc stron wychodzacych 3 kolumna ilosc stron wchodzacych if tabela stron zpolaczeniami null tabela stron zpolaczeniami new jtable new nodes table model return tabela stron zpolaczeniami
this method initializes tabela stron zpolaczeniami
private jscroll pane get polaczenia zdanej strony if polaczenia zdanej strony null polaczenia zdanej strony new jscroll pane polaczenia zdanej strony set bounds new rectangle 30 390 812 133 polaczenia zdanej strony set horizontal scroll bar policy jscroll pane horizontal scrollbar always polaczenia zdanej strony set viewport view get tabela polaczen zdanej strony return polaczenia zdanej strony
this method initializes polaczenia zdanej strony
private jtable get tabela polaczen zdanej strony if tabela polaczen zdanej strony null tabela polaczen zdanej strony new jtable new nodes table model return tabela polaczen zdanej strony
this method initializes tabela polaczen zdanej strony
private jtext field get nazwa strony if nazwa strony null nazwa strony new jtext field nazwa strony set bounds new rectangle 27 28 154 18 return nazwa strony
this method initializes nazwa strony
private jcombo box get od combo if od combo null od combo new jcombo box od combo set bounds new rectangle 30 75 256 31 return od combo
this method initializes od combo
private jcombo box get do combo if do combo null do combo new jcombo box do combo set bounds new rectangle 300 75 256 31 return do combo
this method initializes do combo
private jtext field get url find if url find null url find new jtext field url find set bounds new rectangle 30 705 809 29 return url find
this method initializes url find
private jbutton get fill all if fill all null fill all new jbutton fill all set bounds new rectangle 30 735 241 30 fill all set text stw rz siatk po cze fill all add action listener new java awt event action listener public void action performed java awt event action event e system out println action performed todo auto generated event stub action performed worm w new worm nodes clear nodes add all w start get url find get text nodes add all progress show progress get url find get text fill with data stworz return fill all
this method initializes fill all
private jscroll pane get polaczenia do danej strony if polaczenia do danej strony null polaczenia do danej strony new jscroll pane polaczenia do danej strony set bounds new rectangle 30 555 812 127 polaczenia do danej strony set horizontal scroll bar policy jscroll pane horizontal scrollbar always polaczenia do danej strony set viewport view get tabela polaczen do danej strony return polaczenia do danej strony
this method initializes polaczenia do danej strony
private jtable get tabela polaczen do danej strony if tabela polaczen do danej strony null tabela polaczen do danej strony new jtable new nodes table model return tabela polaczen do danej strony
this method initializes tabela polaczen do danej strony
public uibean get uibean return bean
returns a reference to the bean which caused this exception
public method get key getter for uibean object bean return method throw on null key getter table get bean get class get abstract name for uibean bean
internal method to get a beans primary key getter method
protected method get key setter for uibean object bean return method throw on null key setter table get bean get class get abstract name for uibean bean
internal method to get a beans primary key setter method
public object get component fields return component fields
returns the component fields of this ui model
protected map build key field name setter method table object key map field name setter method table new hashtable iterator methods iterator build method list key get class key get class get methods iterator if key field name destructor method table contains key key get class key field name destructor method table put key get class new hashtable return build key field name setter method table key get class key field name setter method table new vector methods iterator false
internal utility method to make a map from the field names to the
public object do event return event handler
returns the event handler for this ui model
public void show hidden false
unhides the associated modelled
public display layout get display layout return display layout
returns the static presentation characteristics
public display attributes get display attributes return display attributes
returns a reference to the dynamic presentation
public boolean equals object second ms uibean wrapper other wrapper ms uibean wrapper second return get component fields equals other wrapper get component fields
two ui bean wrappers are equal if their
public int hash code return component fields hash code
the hashcode of a ui bean wrapper is equal to
public int compare to object second ms uibean wrapper other wrapper ms uibean wrapper second comparable first component fields object second component fields try first component fields comparable this catch class cast exception not comparable throw new unsupported operation exception the component fields of this object do not implement comparable second component fields other wrapper get component fields return first component fields compare to second component fields
returns zero if the two ui bean wrappers are equal
public boolean is selected return display attributes is selected bean get primary key
returns true if this item is
public void deselect display attributes deselect bean get primary key
deselects this item in its
public void select display attributes select bean get primary key
selects this item in its
public string get bean heading return source properties get property bean heading
returns the heading for the bean
public boolean is selectable return display attributes is selectable bean get primary key
returns true if this item can
protected string get primary key field name for uibean object bean return get key getter for uibean bean get name substring 3
internal utility method to extract the primary key field name
public void selectable display attributes selectable bean get primary key
marks this item as being
public void unselectable display attributes unselectable bean get primary key
marks this item as not being
public map get alignment map for section string section name map alignment map new hash map string alignment directive int alignment index 0 while alignment directive source properties get property section name alignment alignment index null string tokenizer tokenizer new string tokenizer alignment directive string previous field null for int i tokenizer count tokens i 0 i string current field tokenizer next token if previous field null alignment map put current field previous field previous field current field return alignment map
returns the alignment map for the
public string get abstract name for uibean object bean class bean class bean get class if bean instanceof ejblocal object bean class bean get class get interfaces 0 return strings after last bean class get name
internal utility method to determine for a ui bean an internal abstract
public string get page heading return source properties get property page heading
returns the heading for the page
public void collapse collapsed true
collapses the associated modelled
public string get abstract name for uibean class class bean class return strings after last bean class get name
internal utility method to convert a ui bean class to an internal
public string get property string key string default value return source properties get property key default value
returns the property value associated
public void expand collapsed false
expands the associated modelled
protected string get package name for uibean class class bean class return strings before last bean class get name
internal utility method to return a bean classs parent package name
public void selectable selectable true
marks this item as being
public void unselectable selectable false
marks this item as not being
public rendering hints get rendering hints if rendering hints null return rendering hints new ms rendering hints else return rendering hints
returns the rendering hints for the
public string get section heading string section name if parent bean null return null else return source properties get property section name heading
returns the heading for the named
public void add menu listener menu listener menu listener menu listeners add menu listener
adds a listener to respond to menu events
public bean body get sections display attributes attributes return get sections for bean parent bean attributes
returns the sections for the bean
public boolean is editable return view only
returns true if the data in the
public void view only view only true
disallows edits on the
public void view edit view only false
allows edits on the
public boolean is searchable return non searchable
returns true if the field
public void search non searchable false
allows searches with the
public void non search non searchable true
disallows searches with the
public void collapse field collapse collapsed true
collapses the associated field
public void expand field expand collapsed false
expands the associated field
public void hide field hide hidden true
hides the associated field
public void show field show hidden false
unhides the associated field
public rows get bean buttons display attributes attributes return get bean buttons parent bean attributes
returns the buttons for the bean
public columns get columns return this
returns the columns comprising this
public rows get rows rows display rows new ms rows iterator column iterators new iterator size iterator columns iterator iterator for int i 0 i size i column iterators i column columns iterator next iterator if size 0 while column iterators 0 has next row current row new ms row for int j 0 j size j current row add column iterators j next display rows add current row return display rows
returns the rows comprising this
public void collapse field string field name if collapsed fields null string tokenizer tokenizer new string tokenizer map null to empty get property collapsed fields collapsed fields new hash set while tokenizer has more tokens collapsed fields add tokenizer next token collapsed fields add field name else collapsed fields add field name
collapses the named field
public boolean is all buttons iterator iterator iterator int count 0 while iterator has next iterator next instanceof button count return count size
returns true if this row
public void set selected top level menu option menu option menu option object session user get if session null this selected menu option menu option else user selected menu option table put session menu option
sets the selected top level menu option which
public void collapse section string section name if collapsed sections null string tokenizer tokenizer new string tokenizer map null to empty get property collapsed sections collapsed sections new hash set while tokenizer has more tokens collapsed sections add tokenizer next token collapsed sections add section name else collapsed sections add section name
collapses the named section
public collection get menu options object session user get if session null return menu options else return collection user menu options table get session
returns the collection of menu options which will be
public void deselect button string button name if selected buttons null string tokenizer tokenizer new string tokenizer map null to empty get property selected buttons selected buttons new hash set while tokenizer has more tokens selected buttons add tokenizer next token selected buttons remove button name else selected buttons remove button name
deselects the named button