input
stringlengths
10
828
output
stringlengths
5
107
public void set vaf630 java util vector vaf630 this vaf630 vaf630
setter for property vaf630
private nglutilities this n gllocale locale get default ht lib ids new hashtable ht lib names new hashtable
creates a new instance of nglutilities
private nglxmlutility
creates a new instance of nglxmlutility
public void start thread t thread var get if t null t start system out println thread started
start the worker thread
public void set vaf100 java util vector vaf100 this vaf100 vaf100
setter for property vaf100
public void set vaf110 java util vector vaf110 this vaf110 vaf110
setter for property vaf110
public void set issue year java lang string issue year this issue year issue year
setter for property issue year
public void init servlet config config throws servlet exception super init config try home ejb bprocess cataloguing cataloguing miscellaneous home ejb bprocess util home factory get instance get remote home cataloguing miscellaneous catch exception exp system out println exp exp print stack trace new gen xmlgenerator servlet util new gen xmlgenerator get instance
initializes the servlet
public void init servlet config config throws servlet exception new gen ps new gen home home factory get instance get remote home new gen create if ps is union catalogue exists thread my thread new thread new catalogue record uploader nglucproperties nglucp nglucproperties get instance string val nglucp get properties get property periodicity 36000 int val int 36000 try val int integer parse int val catch exception e scheduler schedule at fixed rate my thread 0 val int time unit seconds
initializes the servlet
public string get af id return this af id
getter for property ad id
public void set af id string af id this af id af id
setter for property ad id
public void add subfields list subfields subfield new nglsubfield subfields size for int i 0 i subfields size i subfield i nglsubfield subfields get i
takes a list of subfields and sets these subfields to the tag
private nglresource bundle try this this locale java util locale get default this resource java util resource bundle get bundle org verus ngl resources administration this this locale catch exception e e print stack trace
creates a new instance of dossier resource bundle
private nglmessage bundle try this this locale java util locale get default this resource java util resource bundle get bundle org verus ngl resources nglmessages this this locale catch exception e e print stack trace
creates a new instance of nglmessage bundle
public void set save mode int save mode this save mode save mode
setter for property save mode
private nglindex utility
creates a new instance of nglindex utility
private encryption utility
creates a new instance of encryption utility
private nglcomponent decorator
creates a new instance of nglcomponent decorator
public ngltext component javax swing text jtext component textcomponent this text component textcomponent init pop up menu
creates a new instance of ngltext component
private nglresource bundle try this this locale java util locale get default this resource java util resource bundle get bundle administration this this locale catch exception e e print stack trace
creates a new instance of dossier resource bundle
private nglmessage bundle try this this locale java util locale get default this resource java util resource bundle get bundle nglmessages this this locale catch exception e e print stack trace
creates a new instance of nglmessage bundle
public void set vaf710 java util vector vaf710 this vaf710 vaf710
setter for property vaf710
public void set display for current node
creates new form marc21 leader panel
synchronized public int get next key string key name key info key info if key hash contains key key name key info key info key hash get key name else key info new key info pool size key name key hash put key name key info return key info get next key
key name key
public length random pos final length curr pos int rel int math random edge length if rel 2 0 rel rel rel int curr pos get value rel if rel 0 rel rel if rel edge length rel rel edge length return curr pos set value rel
random box relative movement on one edge
public void set pos length top length left get style set top top get style set left left set text int left get value int top get value
set current box position
public void set data e data this data data if data null assign value 0 else assign value string value of data ordinal 1
set selection based on given option data
public void set data final integer id simple date format sdf new simple date format date format this data id null new user helper find user by id id fn set value data get first name null data get first name ln set value data get last name null data get last name bd set value data get birthday null sdf format data get birthday ef set value data get employed for null data get employed for to string layout get cell 1 1 set text data get id null data get id to string fn set focus
retrieve user data from db and fill form fields
public void send files ic submit
submit files to server
private void show free file for div div get elements div class if div get elements null div get elements is empty div remove style class hide div add files get file no break
search and put into view first available input file element
public input file delete file final int file index for input file f files if f get parent null f get value null equals f get value f get parent add style class hide f remove parent break input file file files get file index if file get parent null file get parent add style class hide file assign value null remove parent files remove file files add file this file no show free file return file
removes input file element from view
public date get datetime return datetime
specifies the date and time when the text was deleted
public integer get cols return cols
specifies the visible width of a text area
public integer get rows return rows
specifies the visible number of rows in a text area
private void resize to row final int row final int num rows rows for int i 0 i row num rows 1 i add new table row
if necessary the rows number is resized to create the given row
public table cell get cell final int row final int column final table row tr get row row table cell tc null if tr null tc tr get cell column return tc
returns table cell at given row and column
public table cell set cell final int row final int column final table cell tc new table cell set cell row column tc return tc
set new instance of empty cell at table in given row and column
public table row get row final int row table row tr null resize to row row int r 0 if get elements null for final element wo get elements if wo instanceof table row if r row tr table row wo break r return tr
return row element at given row number
public void add row final table row tr tr set parent this
append row to table
public table row add row return add new table row
append empty row to table
public table row insert row final int row final table row tr new table row add tr for int i rows 1 i row i if i 0 set row i get row i 1 set row row tr return tr
insert empty table row at given index
public int rows int rows 0 if get elements null for final element wo get elements if wo instanceof table row rows return rows
specifies number of rows in the table
public relationship get rel return rel
specifies the relationship between the current document and the linked
public relationship get rev return rev
specifies the relationship between the linked document and the current
public int columns int cols 0 if get elements null for final element wo get elements if wo instanceof table row final table row tr table row wo if tr columns cols cols tr columns return cols
it is calculating count of columns in each row
private void resize to column final int column final int num cols columns for int i 0 i column num cols 1 i new table cell set parent this
if necessary the row is resized to create the given column
public integer get cellpadding return cellpadding
specifies the space between the cell wall and the cell content in pixels
public table cell get cell final int column table cell tc null resize to column column int c 0 for final element wo get elements if wo instanceof table cell if c column tc table cell wo break c return tc
get table cell at column in this row
public table cell inser column final int column final table cell tc new table cell inser column column tc return tc
inserts column into row
public integer row no final table t table get parent if t null return null int row 0 for final element e t get elements if e this break if e instanceof table row row return row
return number of row which is in the table
public integer get cellspacing return cellspacing
specifies the space between cells
public int columns int c 0 if get elements null for final element wo get elements if wo instanceof table cell c return c
number of table cells in the row
public vertical align get vertical align return vertical align
specify horizontal align of the content in a table row
public length get height return height
specifies the height of an image
public file get store location return store location
specifies the store location of uploaded file
public element get for element return for element
specifies which form element a label is bound to
public string get accept return accept
specifies the types of files that can be submitted through a file upload
public enctype get enctype return enctype
specifies how form data should be encoded before sending it to a server
public int get index of option final option option if option null get elements null int i 0 for element wo get elements if wo instanceof option if wo equals option return i i else if wo instanceof option group for element wog wo get elements if wog equals option return i i return 1
is looking for index of given option comply option group elements
public integer column no final table row tr table row get parent if tr null return null int col 0 for final element e tr get elements if e equals this break if e instanceof table cell col return col
specifies number of column in witch is the cell
public integer row no final table row tr get parent return tr row no
specifies number of row in which is the cell
public void assign selected index final int selected index this selected index selected index
set current index of selected option without sending script to browser
public void assign value final string value this value value
set value without calling script
public color set rgb final int red final int green final int blue code utils rgb to int red green blue return this
set color of rgb
public padding set edge final edge edge final length length if this edge null this edge new hashtable edge length this edge put edge length paint script return this
sets the padding
protected void paint script if root null root get web element null root get web element call script if painted utils get script prefix root get web element get element type script element name paint
sends script of style element do browser
public void set web element final element parent if web element parent if web element null web element set style null if parent null paint script web element parent
sets element of the style
public border property get edge final edge edge if this edge null return null return this edge get edge
specifies border edge properties
public border set edge final edge edge final border property border property if this edge null this edge new hashtable edge border property border property set root get root this edge put edge border property paint script edge return this
set border edge with border edge property
public cursor add final string url if this url null this url new hash set string this url add url paint script return this
the url of a custom cursor to be used
private fire web application retrive application http session session fire web context get request get session false if session null return null else return fire web application session get attribute constants http session prefix get servlet name
retrieves application object from session
public boolean is extra info return this extra info
specifies if do you expect to receive extra info information of the
public event listener set extra info final boolean extra info this extra info extra info return this
set if to receive extra info information of the browser event
public boolean is feed back return this feed back
specifies if to notify user event is in progress
public event listener set feed back final boolean feed back this feed back feed back return this
set if to notify user event is in progress
public value get value type return this value type
set how do you expect to receive value s
public event listener set value type final value value type this value type value type return this
specifies how do you expect to receive value s of elements from web
public string get event name return constants event name prefix name
script method name associated with the event
public boolean is bubbling return bubbling
specifies if event bubbling is on off
public event listener set bubbling boolean bubbling this bubbling bubbling return this
set if event bubbling is on off
public event listener set script string script this script script return this
set script to process on browser
public boolean is notify server return notify server
specifies if to notify server when script browser event had happened
public event listener set notify server boolean notify server this notify server notify server return this
set if to notify server when script browser event had happened
public action get action type return action type
specifies who is doing the action perform when event happened
public event listener set action type action action type this action type action type return this
set who is doing the action perform when event happened
public boolean is prevent default return prevent default
specifies if to cancel default event action on browser
public event listener set prevent default boolean prevent default this prevent default prevent default return this
set if to cancel default event action on browser
public string get value final element wo return values null null values get wo get id
looking for value of element at event values
public string get value return values null element null null values get element get id
looking for value of element on which event had happen
public string get target element value return values null target web element null null values get target web element get id
looking for value of target element on which event had happen
public boolean is confirmed return confirm null confirm
shortcut function to
public event set element element element this element element return this
set element of the event
public event set data object data this data data return this
set event context data
private void add child final element child elements add child set change children set true
add child element at this element
private void insert child final int index final element child elements add index child set change children set true
insert child element at this element
private void replace child final int index final element child elements set index child set change children set true
replace child element at this element
private void remove child final element child if elements null elements remove child set change children set true
removes child element from this element
protected void set change children set final boolean changed if is inner html children set changed changed else if parent null parent set change children set changed
set if element state changed
protected void set painted boolean was paint this painted was paint
set if element was paint
protected boolean is children set changed return children set changed
test if children elements set changed