input stringlengths 10 828 | output stringlengths 5 107 |
|---|---|
public scomponent get left component return left component | returns the component to the left or above the divider |
public void set title font sfont title font if component null is different this font title font component reload this font title font | sets the title font of the titled border |
public void set orientation int orientation check orientation orientation int old value this orientation this orientation orientation reload if change orientation old value property change support fire property change orientation old value this orientation | set the scrollbars orientation to either vertical or horizontal |
public void set title color color title color if component null is different this color title color component reload this color title color | sets the title color of the titled border |
public int get max tabs per line return max tabs per line | returns the maximum tabs per line |
public void set top component scomponent comp set left component comp | sets the component above or to the left of the divider |
public sfont get title font return font | returns the title font of the titled border |
public color get title color return color | returns the title color of the titled border |
public scomponent get top component return left component | returns the component above or to the left of the divider |
public void set right component scomponent comp scomponent old val this right component if comp null if right component null remove right component right component null else add comp ssplit pane right property change support fire property change right component old val this right component | sets the component to the right or below the divider |
public string get title at int index return page pages get index title | returns the tab title at i index i |
public scomponent get right component return right component | returns the component to the right or below the divider |
protected void fire state changed change listener listeners change listener get listeners change listener class for int i 0 i listeners length i change listener listener listeners i listener state changed new change event this | notifies all listeners that have registered interest in |
public bounded range model get model return slider model | returns data model that handles the sliders three |
public void set bottom component scomponent comp set right component comp | sets the component below or to the right of the divider |
public sicon get icon at int index return page pages get index icon | returns the tab icon at i index i |
public void set model bounded range model new model bounded range model old model get model if old model null old model remove change listener change listener slider model new model if new model null new model add change listener change listener reload if change new model old model property change support fire property change model old model this slider model | sets the model that handles the sliders three |
public scomponent get bottom component return right component | returns the component below or to the right of the divider |
public void set orientation int orientation if orientation vertical split orientation horizontal split throw new illegal argument exception ssplit pane orientation must be one of ssplit pane vertical split or ssplit pane horizontal split int old orientation this orientation this orientation orientation reload if change old orientation orientation property change support fire property change orientation old orientation this orientation | sets the orientation or how the splitter is divided |
public void set value int n bounded range model m get model int old value m get value m set value n reload if change n old value property change support fire property change value old value m get value | sets the sliders current value |
public sicon get disabled icon at int index return page pages get index disabled icon | returns the tab disabled icon at i index i |
public void set minimum int minimum int old min get model get minimum get model set minimum minimum reload if change minimum old min property change support fire property change minimum old min get model get minimum | sets the models minimum property |
public void set continuous layout boolean new continuous layout boolean old cd continuous layout continuous layout new continuous layout reload if change old cd new continuous layout property change support fire property change continuous layout old cd this continuous layout | sets the value of the code continuous layout code property |
public color get background at int index return page pages get index background | returns the tab background color at i index i |
public void set maximum int maximum int old max get model get maximum get model set maximum maximum reload if change maximum old max property change support fire property change maximum old max get model get maximum | sets the models maximum property |
public void set resize weight double value if value 0 value 1 throw new illegal argument exception jsplit pane weight must be between 0 and 1 double old weight resize weight resize weight value reload if change old weight value property change support fire property change resize weight old weight this resize weight | specifies how to distribute extra space when the size of the split pane |
public color get foreground at int index return page pages get index foreground | returns the tab foreground color at i index i |
private void init cache if necessary if prefs cache null return prefs cache new hash map string string try load cache catch exception e assert last sync time 0 prefs cache new tree map string string | initialize prefs cache if it has yet to be initialized |
public string get style at int index return page pages get index style | returns the tab style at i index i |
public void reset to preferred sizes todo what shall we do here | lays out the code jsplit pane code layout based on the preferred size |
public void set major tick spacing int n int old value major tick spacing major tick spacing n reload if change n old value property change support fire property change major tick spacing old value this major tick spacing | this method sets the major tick spacing |
public void set divider location int location int old value divider location divider location location reload if change old value divider location property change support fire property change divider location old value this divider location | sets the location of the divider |
public boolean is enabled at int index return page pages get index enabled | returns whether or not the tab at i index i is |
public void set snap to ticks boolean b boolean old value snap to ticks snap to ticks b reload if change b old value property change support fire property change snap to ticks old value this snap to ticks | specifying true makes the knob and the data value it represents |
public void set max pixel constraint int max integer old val integer this get client property max pixel constraint old val old val int value this put client property max pixel constraint new integer max integer new val integer this get client property max pixel constraint new val new val int value property change support fire property change max pixel constraint old val new val | the maximum number of pixels the slider thumb can be moved |
public scomponent get tab at int index return page pages get index component | returns the component at i index i |
public void remove scomponent component if component left component left component null else if component right component right component null super remove component | removes the child component code component code from the |
public void remove int index scomponent comp get component index if comp left component left component null else if comp right component right component null super remove index | removes the code scomponent code at the specified index |
public scomponent get component at int index return page pages get index component | returns the component at i index i |
protected void remove node spi throws backing store exception if change log contains node create change log remove node create node create null return null if dir exists return return null prefs file delete tmp file delete dir should be empty now if it s not empty it file junk dir list files if junk length 0 get logger warning found extraneous files when removing node arrays as list junk for int i 0 i junk length i junk i delete if dir delete throw new backing store exception couldn t delete dir dir | called with file lock held in addition to node locks |
public void remove all left component right component null super remove all | removes all the child components from the split pane |
protected string param string string orientation string orientation horizontal split horizontal split vertical split string continuous layout string continuous layout true false return super param string continuous layout continuous layout string divider size divider size orientation orientation string | returns a string representation of this code ssplit pane code |
public void set background at int index color background page pages get index background background | sets the background color at i index i to i background i |
public void set date java util date date looks bad but gets the job done set date new date date get time | sets the date this calendar is build around |
public void set date date date get calendar model set date date | sets the date this calendar is build around |
public date get date return get calendar model get date | gets the date this calendar is build around |
public void set foreground color foreground super set foreground foreground if f style sheet null f style sheet invalidate | sets the foreground color |
public calendar model get calendar model return model | returns the currently used code calendar model code for this instance of calendar |
public void set background color background super set background background if f style sheet null f style sheet invalidate | sets the background color |
public void set foreground at int index color foreground page pages get index foreground foreground | sets the foreground color at i index i to i foreground i |
public void set style at int index string style page pages get index style style | sets the style at i index i to i style i |
public void set enabled at int index boolean enabled page pages get index enabled enabled | sets whether or not the tab at i index i is enabled |
public void set date date date if date null throw new illegal argument exception date must be not null date old val this date this date date update visible dates if old val date fire view change event new calendar view change event this date | sets the date |
public void set view calendar view view calendar view old val this view this view view if date null return update visible dates if old val view fire view change event new calendar view change event this view | sets the type of view on this calendar e |
public void set tool tip text at int index string tool tip page pages get index tool tip tool tip | set the tooltip text for tab at i index i |
public string get tool tip text at int index return page pages get index tool tip | get the tooltip text from tab at i index i |
public void set component at int index scomponent component page page page pages get index if component page component if page component null contents remove page component page component component contents add component page component page component get component id if get selected index index card show component | sets the component at i index i to i component i |
public int index of tab sicon icon for int i 0 i get tab count i if get icon at i equals icon return i return 1 | returns the first tab index with a given i icon i |
public void set appointments collection appointment appointments if only properties of objects in the list changed this appointments equals appointments property change support fire property change pre appointments change null appointments this appointments appointments if get visible until null get visible from null update date appointment mapping fire view change event new calendar view change event this appointments | sets the appointments for this calendar model |
public void set show as form component boolean show as form component if this show as form component show as form component return this show as form component show as form component if f style sheet null f style sheet invalidate | set display mode href or form component |
public string create unique id render response render response render response get property const wings session property render response string uid render response get namespace uid uid replace return uid super create unique id | creates a unique id including the portlet id |
protected long get last modified http servlet request request abstract externalize manager ext mgr try ext mgr get externalize manager request catch exception e return system current time millis string path info get path info request if ext mgr null path info null path info length 1 string identifier path info substring 1 externalized resource info ext mgr get externalized resource identifier if info null system err println info get last modified return info get last modified return 1 | returns the last modification of an externalized resource to allow the |
protected boolean is system externalize request http servlet request request string path info get path info request return path info null path info length 1 path info starts with | returns whether this request is to serve an externalize request |
public void add window state change listener window state listener listener listeners add window state listener class listener | adds a new listner for window state changes |
public void update window state session session session manager get session render request request render request session get property const wings session property render request if request null string ws request get window state to string log debug wing s portlet bridge providing window state ws if ws null ws equals old window state old window state ws notify window state new window state event this ws | forces the delivering of the window change event but only if the window |
public void add portlet parameter listener portlet parameter listener listener listeners add portlet parameter listener class listener | adds a new listner for arriving portlet parameters |
public void update parameters session session session manager get session map string string portlet parameters map string string session get property const wings session property portlet parameter map if log is debug enabled if portlet parameters null set names portlet parameters key set iterator iter names iterator log debug wing s portlet bridge portlet parameters stored in session and deliverd as events while iter has next string name string iter next log debug name notify new portlet parameters new portlet parameter event this portlet parameters | forces the updating of the portlet parameters |
private string determine character encoding string character encoding null final session session session manager get session if session null character encoding session get character encoding return character encoding | determine the current character encoding |
private string recode string parameter try return urlencoder encode parameter character encoding catch unsupported encoding exception e log warn unknown character encoding character encoding e return parameter | recoded passes string to url with current encoding |
public void set window state string window state this window state window state update portlet anchor | sets the window state in the portlet url |
private resource retrieve current root frame resource throws servlet exception log debug delivering default frame if session get frames size 0 throw new servlet exception no frame visible get the first frame from the set and walk up the hierarchy this should work in most cases if there are more than one toplevel frames the developer has to care about the resource ids anyway sframe default frame sframe session get frames iterator next while default frame get parent null default frame sframe default frame get parent return default frame get dynamic resource reload resource class | searches the current session for the root html frame and returns the resource |
public scomponent get affected component return affected component | returns the component to be affected by this animation |
public void start script manager get instance add script listener this | starts this animation by adding this instance to the responsible |
public void fire final events if lle changed index 1 set selected index lle changed index lle changed index 1 | sets selection and fire changeevents if user changed |
public void set cg org wingx plaf calendar cg cg super set cg cg | set the look and feel delegate for this component |
public void set icon sicon icon this edit icon icon | sets the code xcalendar code s default code sicon code |
public sicon get icon return this edit icon | returns the default code sicon code |
public void set edit icon sicon icon sicon old val this edit icon this edit icon icon property change support fire property change edit icon old val this edit icon | sets the icon to use for calling the date picker |
public sicon get edit icon return this edit icon | returns the current code sicon code to start the date picker |
public void set title string title string old val this title reload if change this title title this title title property change support fire property change title old val this title | sets the title of the xdivision |
public sicon get clear icon return default edit icon | the current icon to use for clearing the input date |
public void set title font org wings sfont title font sfont old val this get title font cssattribute set attributes cssstyle sheet get attributes title font style style get dynamic style selector title if style null add dynamic style new cssstyle selector title attributes else style remove cssproperty font style remove cssproperty font family style remove cssproperty font size style remove cssproperty font style style remove cssproperty font weight style put all attributes property change support fire property change title font old val this get title font | sets the title font of the xdivision |
public sfont get title font return dynamic styles null dynamic styles get selector title null null cssstyle sheet get font cssattribute set dynamic styles get selector title | returns the title font of the xdivision |
public void set clear icon sicon clear icon | the icon to use for clearing the input date |
public void set title color color title color color old val this get title color set attribute selector title cssproperty color cssstyle sheet get attribute title color property change support fire property change title color old val this get title color | sets the title color of the xdivision |
public color get title color return dynamic styles null dynamic styles get selector title null null cssstyle sheet get foreground cssattribute set dynamic styles get selector title | returns the title color of the xdivision |
public void set title clickable boolean clickable boolean old val this is title clickable this is title clickable clickable property change support fire property change title clickable old val this is title clickable | determines whether or not the title is clickable |
public boolean is title clickable return this is title clickable | returns true if the title is clickable |
public void set formatter sdate formatter formatter sabstract formatter factory old val get formatted text field get formatter factory get formatted text field set formatter factory new sdefault formatter factory formatter property change support fire property change formatter old val get formatted text field get formatter factory | sets the current code sdate formatter code |
public void set time zone time zone time zone time zone old val this time zone this time zone time zone if time zone null sabstract formatter a formatter get formatted text field get formatter if a formatter null a formatter instanceof sinternational formatter sinternational formatter i formatter sinternational formatter a formatter format format i formatter get format if format null format instanceof date format date format format set time zone time zone property change support fire property change time zone old val this time zone | sets the current code time zone code |
public void set shaded boolean shaded if this shaded shaded reload this shaded shaded property change support fire property change shaded this shaded this shaded set recursively visible is recursively visible | determines whether or not the xdivision is shaded |
public date get date return date get formatted text field get value | returns the current code date code |
public void set date date date object old val get formatted text field get value get formatted text field remove document listener this get formatted text field set value date get formatted text field add document listener this if is update possible date null update calendar cg get cg get hidden update this date else reload property change support fire property change date old val get formatted text field get value | sets the current code date code |
public void set preferred size sdimension dimension super set preferred size dimension get formatted text field set preferred size dimension null dimension get width null sdimension fullwidth null | set the preferred size of the component |
public void add action listener action listener listener add event listener action listener class listener if get action listeners length 0 get formatted text field get action listeners length 0 get formatted text field add action listener get action listener | adds an action listener to the code xcalendar code |
public void remove action listener action listener listener remove event listener action listener class listener if get action listeners length 0 get formatted text field remove action listener get action listener | removes the supplied listener from the listener list |
public void destroy log info destroy called try if session null session is needed on destroying the session session manager set session session session destroy hint the gc parent null session null catch exception ex log error destroy ex finally session manager remove session | destroy and cleanup the session servlet |
public sformatted text field get formatted text field if f text field null f text field new sformatted text field f text field get document add document listener this return f text field | returns the current code sformatted text field code |
public boolean is valid return session null parent null | a check if this session servlet seems to be alive or is i |
public void switch sort ascending ascending | reverses the order |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.