input stringlengths 10 828 | output stringlengths 5 107 |
|---|---|
public void start main window set visible true | starts the applet |
public void stop main window set visible false | stops the applet |
public void destroy main window dispose | disposes the applet resources |
private void init throws exception create action table text pane jmenu menu file create menu file jmenu menu edit create menu edit jmenu menu style create menu style jmenu menu help create menu help add menu file add menu edit add menu style add menu help | inits the app main menu |
public text editor get text editor return text editor | gets the text editor |
private void create editor set layout new border layout text pane new jtext pane text pane set caret position 0 text pane set margin new insets 5 5 5 5 text pane set font new font monospaced font plain 12 jscroll pane area scroll pane new jscroll pane text pane add area scroll pane border layout center adds control key bindings for text navigation add control key bindings | creates an editor to represent the given document |
public void load data try docs docs short note db get short note get docs load data docs catch exception e log error error in editor load data e get message | loads the document text data from the default data file |
public void load data string file path try xml entities persistent docs short note db get xml docs persistent docs set data file path file path docs docs docs persistent docs get entities persistent docs load load data docs catch exception e log error error in editor load data string e get message | loads the document text data from the data file given by the argument |
public void load data docs docs try doc current doc docs last if current doc null current doc docs create doc default document current document do not save text to a file on a path with empty spaces text pane set text current doc get text catch exception e log error error in editor load data docs e get message | loads the document text data from the entities given by the argument |
public void save data try xml entities persistent docs short note db get xml docs save data persistent docs catch exception e log error error in editor save data e get message | saves the document text data to the default data file |
private void save data xml entities persistent docs try docs docs short note db get short note get docs doc current doc doc docs last if current doc null current doc docs create doc default document current doc set oid new oid current doc set text text pane get text current doc set update date new date persistent docs save catch exception e log error error in editor save data xml entities e get message | saves the document text data to the persistent docs |
public void save data string file path try xml entities persistent docs short note db get xml docs persistent docs set data file path file path save data persistent docs catch exception e log error error in editor save data string e get message | saves the document text data to the data file given by the argument |
public void empty text pane set text | empties the text pane |
public short note get short note return short note | gets the short note model |
public void close if persistent text null persistent text close | closes the persistent domain |
private ipersistent entities get persistent docs ipersistent model persistent short note persistent text get persistent models get persistent model short note ipersistent entities persistent docs persistent short note get persistent entry docs return persistent docs | gets the persistent docs |
public string get data file relative path short note short note get short note docs docs short note get docs concept config concept config docs get concept config string file name concept config get file name string relative path concept config get model config get persistence relative path string path relative path file name return path | gets the data file path |
public doc get doc oid oid return retrieve by oid oid | retrieves the doc with a given oid |
public doc get doc long oid unique number return get doc new oid oid unique number | retrieves the doc with a given oid unique number |
public docs get docs string property code object property return docs select by property property code property | selects docs whose property with a property code is equal to a property |
public docs get docs property rule doc rule return docs select by rule rule | gets docs selected by a property rule |
private void create action table jtext pane text pane actions new hash map action actions array text pane get actions for int i 0 i actions array length i action a actions array i actions put a get value action name a | creates a table of actions from the given text component |
public docs get docs order rule doc rule return docs order by rule rule | gets docs ordered by an order rule |
public docs get title docs string title property rule doc rule property rule define equal title title return get docs rule | gets title docs |
public docs get docs ordered by code boolean ascending order rule doc rule order rule define order code ascending return get docs rule | gets docs ordered by code |
public docs get docs ordered by title boolean ascending order rule doc rule order rule define order title ascending return get docs rule | gets docs ordered by title |
public docs get docs ordered by text boolean ascending order rule doc rule order rule define order text ascending return get docs rule | gets docs ordered by text |
private void display jdialog child dimension child size child get preferred size point child location get central location main window get location main window get size child size child set location child location child set modal true child set visible true | displays a dialog within a center of the app min window |
public country names get country names return country names | gets country name entities |
public string get language code string language string language code null country language natural language country language retrieve by property language language if natural language null language code natural language get code return language code | gets a language code given the language name |
public country language get country language string property code object property return retrieve by property property code property | retrieves the first country language whose property with a |
public country languages get country languages property rule country language rule return country languages select by rule rule | gets country languages selected by a property rule |
public country languages get country languages ordered by language boolean ascending order rule country language rule order rule define order language ascending return get country languages rule | gets country languages ordered by language |
public country name get country name oid oid return retrieve by oid oid | retrieves the country name with a given oid |
public country name get country name long oid unique number return get country name new oid oid unique number | retrieves the country name with a given oid unique number |
public country name get country name string property code object property return retrieve by property property code property | retrieves the first country name whose property with a |
public country names get country names property rule country name rule return country names select by rule rule | gets country names selected by a property rule |
public question type get question type long oid unique number return get question type new oid oid unique number | retrieves the question type with a given oid unique number |
public country names get country names order rule country name rule return country names order by rule rule | gets country names ordered by an order rule |
public country names get country country names string country property rule country name rule property rule define equal country country return get country names rule | gets country country names |
public country names get country names ordered by code boolean ascending order rule country name rule order rule define order code ascending return get country names rule | gets country names ordered by code |
public country names get country names ordered by country boolean ascending order rule country name rule order rule define order country ascending return get country names rule | gets country names ordered by country |
public corderline offer java lang string id super id | constructor for primary key |
public cuom conversion java lang string id super id | constructor for primary key |
public cstorage pending java lang string id super id | constructor for primary key |
public cimage java lang string id super id | constructor for primary key |
public cbpartner discount java lang string id super id | constructor for primary key |
public cwarehouse java lang string id super id | constructor for primary key |
public cbpartner location java lang string id super id | constructor for primary key |
public uorganization java lang string id super id | constructor for primary key |
public sform access com sphere erp sform access pk id super id | constructor for primary key |
public ccountry java lang string id super id | constructor for primary key |
public ucompany java lang string id super id | constructor for primary key |
public stable java lang string id super id | constructor for primary key |
public cproductcategory java lang string id super id | constructor for primary key |
public cquoteline java lang string id super id | constructor for primary key |
public cbpartner java lang string id super id | constructor for primary key |
public cinvoiceline offer java lang string id super id | constructor for primary key |
public cstorage details java lang string id super id | constructor for primary key |
public ctax java lang string id super id | constructor for primary key |
public cphone java lang string id super id | constructor for primary key |
public coffer product java lang string id super id | constructor for primary key |
public coffer productcategory java lang string id super id | constructor for primary key |
public cproduct java lang string id super id | constructor for primary key |
public coffer java lang string id super id | constructor for primary key |
public cbpartner group java lang string id super id | constructor for primary key |
public uuser role com sphere erp uuser role pk id super id | constructor for primary key |
public cquote java lang string id super id | constructor for primary key |
public clocation java lang string id super id | constructor for primary key |
public cinvoice discount java lang string id super id | constructor for primary key |
public cinventory java lang string id super id | constructor for primary key |
public swindow java lang string id super id | constructor for primary key |
public cdelivery java lang string id super id | constructor for primary key |
public ccurrency java lang string id super id | constructor for primary key |
public coffer bpartner java lang string id super id | constructor for primary key |
public coffer pricelist java lang string id super id | constructor for primary key |
public cproduct inventory com sphere erp cproduct inventory pk id super id | constructor for primary key |
public uprivilege java lang string id super id | constructor for primary key |
public urole java lang string id super id | constructor for primary key |
public clanguage java lang string id super id | constructor for primary key |
public base urole java lang string id this set id id initialize | constructor for primary key |
public base cproduct warehouse com sphere erp cproduct warehouse pk id this set id id initialize | constructor for primary key |
public base corderline offer java lang string id this set id id initialize | constructor for primary key |
public base cfeatureset java lang string id this set id id initialize | constructor for primary key |
public void set id com sphere erp cproduct warehouse pk id this id id this hash code integer min value | set the unique identifier of this class |
public void set amount offer java lang integer amount offer this amount offer amount offer | set the value related to the column amount offer |
public void set cproduct warehouse id java lang string c product warehouse id this c product warehouse id c product warehouse id | set the value related to the column c product warehouse id |
public void set uorganization id java lang string u organization id this u organization id u organization id | set the value related to the column u organization id |
public void set quantity stock java math big decimal quantity stock this quantity stock quantity stock | set the value related to the column quantity stock |
public void set createdby java lang string createdby this createdby createdby | set the value related to the column createdby |
public void set price offer java lang integer price offer this price offer price offer | set the value related to the column price offer |
public void set ucompany id java lang string u company id this u company id u company id | set the value related to the column u company id |
public void set quantity alert java math big decimal quantity alert this quantity alert quantity alert | set the value related to the column quantity alert |
public void set updatedby java lang string updatedby this updatedby updatedby | set the value related to the column updatedby |
public void set cfeature com sphere erp cfeature c feature this c feature c feature | set the value related to the column c feature id |
public base uorganization java lang string id this set id id initialize | constructor for primary key |
public void set uprivileges java util set com sphere erp uprivilege u privileges this u privileges u privileges | set the value related to the column uprivileges |
public void set coffer com sphere erp coffer c offer this c offer c offer | set the value related to the column c offer id |
public void set corderline com sphere erp corderline c orderline this c orderline c orderline | set the value related to the column c orderline id |
public void set stables java util set com sphere erp stable s tables this s tables s tables | set the value related to the column stables |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.