input
stringlengths
10
828
output
stringlengths
5
107
public void set caption obr string text this str caption obr text
setting caption of picture
public void set name string name this str nazev name
editing name of profile
public string get name return this str nazev
getting name of profile
public void set url string cesta this str url cesta
setting url to php scripts or config name
public void set small picture size int x int y this int small x x this int small y y
setting new sizes of small picture
public void set great picture size int x int y this int great x x this int great y y
setting new picture size of great case
public void save throws ioexception write ini this this obj inifile
saving profiling information
override protected void startup show new obr loader view this
at startup create and show the main frame of the application
public profil create profil string name for profil profil profiles if profil get name compare to name 0 return profil return null
creating profile for main aplication
suppress warnings static access private void j button1 action performed java awt event action event evt gen first event j button1 action performed if j file chooser1 show open dialog j panel1 j file chooser1 approve option file temp file j file chooser1 get selected file j text field1 set text temp file get path gen last event j button1 action performed
opening filedialog for setting path to folder
private string get percent return n celkem 100 string value of math round n 100 celkem
counting perccent of progressbar
public string get title suffix return
called right after the manager is instantiated
public object clone we can just use what super clone returns the only instance variables are value objects which are immutable so we don t care that both the copy and the copied refer to the same value objects if we had mutable instance variables then of course we would need to clone them try return super clone catch clone not supported exception e return null
returns a copy of this object
public boolean init instance state state mouse event e return state get instance get bounds contains e get x e get y anywhere in the main rectangle initiates the poke the user might have clicked within a label but that will be outside the bounds
determines whether the location the mouse was pressed should result
protected void configure new instance instance instance bounds bds instance get bounds instance set text field std attr label std attr label font bds get x bds get width 2 bds get y 3 graphics util h center graphics util v baseline
the configure new instance method is invoked every time a new instance
public void paint instance painter painter bounds bds painter get bounds bit width width bit width painter get attribute value std attr width int len width get width 3 4 graphics g painter get graphics g set color color red int wid 7 len 2 width of caret rectangle int ht 16 height of caret rectangle g draw rect bds get x bds get width wid 2 bds get y bds get height ht 2 wid ht g set color color black
draws an indicator that the caret is being selected
public void paint instance instance painter painter as it happens instance painter contains several convenience methods for drawing and we ll use those here frequently you d want to retrieve its graphics object painter get graphics so you can draw directly onto the canvas painter draw rectangle painter get bounds g 1 painter draw ports
says how an individual instance should appear on the canvas
public string get display name return gray tools
returns the name of the library that the user will see
public list get tools return tools
returns a list of all the tools available in this library
public boolean add material reference rt material reference p material reference todo return false end add material reference rt material reference p material reference
add material reference
public void delete material reference todo end delete material reference
delete material reference
public rt material reference material reference return this m p material reference end material reference
get material reference
protected void copy node data rt node p destination node boolean b include loaded data todo faire attention unregister end copy node data
copy node contents into a destination node
public void set node type child rule list linked list rt node type child rule struct p rm material object child rule list if this m p rm material object child rule list null p rm material object child rule list null this m p rm material object child rule list p rm material object child rule list end set node type child rule list linked list rt node type child rule struct p rm material object child rule list
sets the node child rule list for the given node
public string get description todo return new string end get description
description of the node
public void add parameter declaration rt node p parameter node int n register index todo end add parameter declaration rt node p parameter node int n register index
add parameter declaration
protected void set type string str new type todo rm hlshader set type rm string t rm string t t rm glshader rm string t str new type end set type
set node type
public void set node type child rule list linked list rt node type child rule struct p rm glshader child rule list if this m p rm glshader child rule list null p rm glshader child rule list null this m p rm glshader child rule list p rm glshader child rule list end set node type child rule list linked list rt node type child rule struct p rm glshader child rule list
sets the node child rule list for the given node
public int get num streams return this m stream list size end get num streams
get number fo streams
public int get handle return this m n handle end get handle
run time stream resource handle
public void set handle int n handle this m n handle n handle end set handle int n handle
set the handle to the run time stream definition resource
public void set node type child rule list linked list rt node type child rule struct p rm stream map child rule list if this m p rm stream map child rule list null p rm stream map child rule list null this m p rm stream map child rule list p rm stream map child rule list end set node type child rule list linked list rt node type child rule struct p rm stream map child rule list
sets the node child rule list for the given node
public boolean is high level return true end is high level
is high level
public boolean is node valid todo return false end is node valid
is node valid
public void delete all samplers this m sampler list clear end delete all samplers
delete all samplers
public void set node type child rule list linked list rt node type child rule struct p rm texture reference child rule list if this m p rm texture reference child rule list null p rm texture reference child rule list null this m p rm texture reference child rule list p rm texture reference child rule list end set node type child rule list linked list rt node type child rule struct p rm node child rule list
sets the node child rule list for the given node
public void update rt types rt node update type node update type rt node p rt update root node todo end update
update node contents
public int get num samplers return this m sampler list size end get num samplers
get number of samplers
public boolean get value return this m b value end get value
returns the value stored in this boolean variable
public void set value boolean b value this m b value b value end set value
sets new value for the boolean
public void set node type child rule list linked list rt node type child rule struct p rm boolean variable child rule list if this m p rm boolean variable child rule list null p rm boolean variable child rule list null this m p rm boolean variable child rule list p rm boolean variable child rule list end set node type child rule list linked list rt node type child rule struct p rm node child rule list
sets the node child rule list for the given node
public float get value return this m f value end get value
retrieve the value of this float node
public void set value float f value if this m b clamp true f value this m f min this m f value this m f min else if this m b clamp true f value this m f max this m f value this m f max else this m f value f value end set value
set the value for this float node
public boolean is clamped return this m b clamp end is clamped
retrieve whether the float variable is clamped
public void set is clamped boolean b clamp this m b clamp b clamp if this m b clamp true this m f value this m f min this m f value this m f min else if this m b clamp true this m f value this m f max this m f value this m f max else this m f value this m f value todo update rm node value changed update this end set is clamped
set whether this float variable is clamped
protected void set type string str new type todo rm shader set type rm string t rm string t t rm hlshader rm string t str new type end set type
set node type
public float get min return this m f min end get min
specify the lower bound for clamping
public void set node type child rule list linked list rt node type child rule struct p rm hlshader child rule list if this m p rm hlshader child rule list null p rm hlshader child rule list null this m p rm hlshader child rule list p rm hlshader child rule list end set node type child rule list linked list rt node type child rule struct p rm hlshader child rule list
sets the node child rule list for the given node
public float get max return this m f max end get max
specify the upper bound for clamping
public void set min float f min this m f min f min if this m b clamp true this m f value this m f min this m f value this m f min end set min
set the lower bound for clamping
public void set max float f max this m f max f max if this m b clamp true this m f value this m f max this m f value this m f max end set max
set the upper bound for clamping
public void set min max float f min float f max this m f min f min this m f max f max if this m b clamp true this m f value this m f min this m f value this m f min else if this m b clamp true this m f value this m f max this m f value this m f max else this m f value this m f value end set min max
set the clamping bounds
public void set node type child rule list linked list rt node type child rule struct p rm float variable child rule list if this m p rm float variable child rule list null p rm float variable child rule list null this m p rm float variable child rule list p rm float variable child rule list end set node type child rule list linked list rt node type child rule struct p rm node child rule list
sets the node child rule list for the given node
public void set light variable type rt types light variable type light variable type this m light variable type light variable type end set light variable type rt types light variable type light variable type
set new light type br
public float get r return this m f color 0 end get r
get red br
public float get b return this m f color 2 end get b
get blue br
public void set value int n index float f value this m f color n index f value end set value int n index float f value
set value br
public void set ambient color float pf color array if pf color array length this m f ambient color array length for int i 0 i pf color array length i this m f ambient color array i pf color array i end set ambient color float pf color array
set ambient color
public void set node type child rule list linked list rt node type child rule struct p rm color variable child rule list if this m p rm color variable child rule list null p rm color variable child rule list null this m p rm color variable child rule list p rm color variable child rule list end set node type child rule list linked list rt node type child rule struct p rm node child rule list
sets the node child rule list for the given node
public int get value return this m n value end get value
retrieve the value of this integer node
public void set diffuse color float pf color array if pf color array length this m f diffuse color array length for int i 0 i pf color array length i this m f diffuse color array i pf color array i end set diffuse color float pf color array
set diffuse color
public void set value int n value if this m b clamp true n value this m n min this m n value this m n min else if this m b clamp true n value this m n max this m n value this m n max else this m n value n value end set value
set the value for this integer node
public void set is clamped boolean b clamp this m b clamp b clamp if this m b clamp true this m n value this m n min this m n value this m n min else if this m b clamp true this m n value this m n max this m n value this m n max else this m n value this m n value todo update rm node value changed update this end set is clamped
set whether this variable is clamped
public void set specular color float pf color array if pf color array length this m f specular color array length for int i 0 i pf color array length i this m f specular color array i pf color array i end set specular color float pf color array
set specular color
public int get min return this m n min end get min
specify the lower bound for clamping
public int get max return this m n max end get max
specify the upper bound for clamping
public void set min int n min this m n min n min if this m b clamp true this m n value this m n min this m n value this m n min end set min
set the lower bound for clamping
public void set max int n max this m n max n max if this m b clamp true this m n value this m n max this m n value this m n max end set max
set the upper bound for clamping
public void set min max int n min int n max this m n min n min this m n max n max if this m b clamp true this m n value this m n min this m n value this m n min else if this m b clamp true this m n value this m n max this m n value this m n max else this m n value this m n value end set min max
set the clamping bounds
public void set node type child rule list linked list rt node type child rule struct p rm integer variable child rule list if this m p rm integer variable child rule list null p rm integer variable child rule list null this m p rm integer variable child rule list p rm integer variable child rule list end set node type child rule list linked list rt node type child rule struct p rm node child rule list
sets the node child rule list for the given node
public void set name string str new name todo end set name string str new name
set name br
public float get value int n index return this m f values n index end get value int n index
get value br
public void set value int n index float f value this m f values n index f value if this m b clamp true if f value this m f max this m f values n index this m f max else f value this m f min this m f values n index this m f min if this m b normalize true this normalize end set value int n index float f value
set value br
public float get spotlight theta return this m f spotlight theta end get spotlight theta
get spotlight theta
public void set values float f values if f values length this m f values length for int i 0 i f values length i this set value i f values i end set values float f values
set values br
public float get spotlight phi return this m f spotlight phi end get spotlight phi
get spotlight phi
public void set is clamped boolean b clamp this m b clamp b clamp if this m b clamp true for int i 0 i this m f values length i this set value i this m f values i end set is clamped boolean b clamp
set clamping flag br
public void set spotlight theta float f spotlight theta this m f spotlight theta f spotlight theta end set spotlight theta float f spotlight theta
set spotlight theta
public void set spotlight phi float f spotlight phi this m f spotlight phi f spotlight phi end set spotlight phi float f spotlight phi
set spotlight phi
public void set min float f min this m f min f min if this m b clamp true for int i 0 i this m f values length i this set value i this m f values i end set min float f min
set min value br
public void set max float f max this m f max f max if this m b clamp true for int i 0 i this m f values length i this set value i this m f values i end set max float f max
set max value br
public void set min max float f min float f max this set min f min this set max f max end set min max float f min float f max
set min max br
public boolean is normalized return this m b normalize end is normalized
normalized flag br
public void set is normalized boolean b value this m b normalize b value normalization if required if this m b normalize true this normalize end set is normalized boolean b value
set normalizing flag br
public void set node type child rule list linked list rt node type child rule struct p rm vector variable child rule list if this m p rm vector variable child rule list null p rm vector variable child rule list null this m p rm vector variable child rule list p rm vector variable child rule list end set node type child rule list linked list rt node type child rule struct p rm vector variable child rule list
sets the node child rule list for the given node
protected void copy node data rt node p destination node boolean b include loaded data todo faire attention unregister rt light variable rtl end copy node data
copy node contents into a destination node
public boolean is artist editable return this m b artist var end is artist editable
is this node an artist variable
public void set is artist editable boolean b value this m b artist var b value end set is artist editable
set whether this variable is artist editable or not
public void set node type child rule list linked list rt node type child rule struct p rm light variable child rule list if this m p rm light variable child rule list null p rm light variable child rule list null this m p rm light variable child rule list p rm light variable child rule list end set node type child rule list linked list rt node type child rule struct p rm node child rule list
sets the node child rule list for the given node
public string get variable semantic return this m str variable semantic end get variable semantic
get variable semantic attribute
public void set variable semantic string p str variable semantic this m str variable semantic p str variable semantic end set variable semantic
set variable semantic attribute
protected void set type string str new type todo rm node set type rm string t rm string t t rm variable rm string t str new type end set type
set node type
public void set node type child rule list linked list rt node type child rule struct p rm variable child rule list if this m p rm variable child rule list null p rm variable child rule list null this m p rm variable child rule list p rm variable child rule list end set node type child rule list linked list rt node type child rule struct p rm node child rule list
sets the node child rule list for the given node
public float get specular power return this m f specular power end get specular power
get specular power
public void set ambient color float pf color array if pf color array length this m f ambient color array length for int i 0 i pf color array length i this m f ambient color array i pf color array i end set aambient color float pf color array
set ambient color
public void set emissive color float pf color array if pf color array length this m f emissive color array length for int i 0 i pf color array length i this m f emissive color array i pf color array i end set emissive color float pf colorarray
set emissive color
public void set specular power float f specular power this m f specular power f specular power end set specular power float f specular power
set specular power
public float get value int n row index int n column index return this m f values n row index 4 n column index end get value int n row index int n column index
get value br
public void set node type child rule list linked list rt node type child rule struct p rm material variable child rule list if this m p rm material variable child rule list null p rm material variable child rule list null this m p rm material variable child rule list p rm material variable child rule list end set node type child rule list linked list rt node type child rule struct p rm vector variable child rule list
sets the node child rule list for the given node
public void set value int n index float f value this m f values n index f value end set value int n index float f value
set value br