input
stringlengths
10
828
output
stringlengths
5
107
public locking manager get locking manager return null
data store method comments copied from geo tools data store interface
public object get attribute int index return null
feature method gets an attribute by the given zero based index
public string get team map path return team map path
returns the path for the team map object
public void set team map path string path object old this team map path system out println setting default calendar path to path this team map path path fire property change team map path property old team map path
sets the path for the team map object
public void set attribute int position object val throws illegal attribute exception array index out of bounds exception
feature method sets an attribute by the given zero based index
public string get role map path return role map path
returns the path for the role specific map object
public void set role map path string path object old this role map path system out println setting role map path to path this role map path path fire property change role map path property old role map path
sets the path for the role specific map object
public int get number of attributes return 1
feature method get the number of attributes this feature has
public string to string return get class get name team map path get team map path role map path get role map path
returns a string representation of this object and its values
public feature reader get feature reader query query transaction transaction throws ioexception system out println get feature reader called string type name query get type name return get feature reader type name
data store method access a feature reader providing access to feature information
public feature writer get feature writer string type name filter filter transaction transaction throws ioexception return null
data store method access feature writer for modification of existing data store contents
public external graphic create external graphic url url string format shared external graphic seg null try seg new shared external graphic url format permissions perms delegated permissions create delegated permissions id client client add new object seg perms replication manager get instance start sharing seg client catch exception e system out println error creating shared external graphic within style factory impl return seg
creates and returns a shared external graphic object with the parameters provided
public external graphic create external graphic string uri string format shared external graphic seg null try seg new shared external graphic uri format permissions perms delegated permissions create delegated permissions id client client add new object seg perms replication manager get instance start sharing seg client catch exception e system out println error creating shared external graphic within style factory impl return seg
creates and returns a shared external graphic object with the parameters provided
public mark get circle mark mark mark null try mark create mark sld editor get filter factory create literal expression circle get default stroke get default fill sld editor get filter factory create literal expression new double 6 0 sld editor get filter factory create literal expression new double 0 0 catch exception e system out println error creating literal expression within style factory impl return mark
convinence method for obtaining a shared mark of shape circle with the
public mark get xmark mark mark null try mark create mark sld editor get filter factory create literal expression x get default stroke get default fill sld editor get filter factory create literal expression new double 6 0 sld editor get filter factory create literal expression new double 0 0 catch exception e system out println error creating literal expression within style factory impl return mark
convinence method for obtaining a shared mark of shape x with the
public mark get star mark mark mark null try mark create mark sld editor get filter factory create literal expression star get default stroke get default fill sld editor get filter factory create literal expression new double 6 0 sld editor get filter factory create literal expression new double 0 0 catch exception e system out println error creating literal expression within style factory impl return mark
convinence method for obtaining a shared mark of shape star with the
public void initialize editor graphic graphic if graphic get size null size editor set expression graphic get size if graphic get rotation null rotation editor set expression graphic get rotation if graphic get opacity null opacity editor set expression graphic get opacity symbol symbols graphic get symbols if symbols null symbols length 0 symbol editor set symbol symbols 0
initializes the editor with values from an exisiting graphic without assigning the
public mark get square mark mark mark null try mark create mark sld editor get filter factory create literal expression square get default stroke get default fill sld editor get filter factory create literal expression new double 6 0 sld editor get filter factory create literal expression new double 0 0 catch exception e system out println error creating literal expression within style factory impl return mark
convinence method for obtaining a shared mark of shape square with the
public mark get cross mark mark mark null try mark create mark sld editor get filter factory create literal expression cross get default stroke get default fill sld editor get filter factory create literal expression new double 6 0 sld editor get filter factory create literal expression new double 0 0 catch exception e system out println error creating literal expression within style factory impl return mark
convinence method for obtaining a shared mark of shape cross with the
public void remove condition map remove qmtext condition count 1 condition panel remove temp panel condition count 1 condition count system out println map put qmcount remove condition map put qmcount new string map item integer to string condition count if condition count 1 minus button set enabled false match set text match the following condition match panel remove any all match panel remove condition
method to remove a condition for query
public mark get triangle mark mark mark null try mark create mark sld editor get filter factory create literal expression triangle get default stroke get default fill sld editor get filter factory create literal expression new double 6 0 sld editor get filter factory create literal expression new double 0 0 catch exception e system out println error creating literal expression within style factory impl return mark
convinence method for obtaining a shared mark of shape triangle with the
public void initialize line placement lp if lp null if lp get perpendicular offset null set perpendicular offset lp get perpendicular offset
initializes the object with the data from an existing
public expression get perpendicular offset expression exp null if get shared offset null try filter factory filter factory filter factory create filter factory exp filter factory create literal expression get shared offset catch exception e system out println failed to create literal expression return exp
geo tools method
public void set perpendicular offset expression exp literal expression lexp if exp null exp instanceof literal expression lexp literal expression exp integer new offset integer lexp get literal set shared offset new offset
geo tools method
public void set shared offset integer offset if offset equals this offset object old this offset this offset offset fire property change shared offset old offset
sets the shared offset value
public integer get shared offset return offset
returns the shared offset value
public void accept style visitor visitor visitor visit this
geo tools method
public string to string return get class get name x get x y get y width get width height get height
returns a string that represents the value of this rectangle double
public boolean equals object obj boolean result false if obj instanceof rectangle double rectangle double tmp rectangle double obj if tmp get x this x tmp get y this y tmp get width this width tmp get height this height result true return result
determines whether or not two rectangles are equal
public boolean has next throws ioexception if list null throw new ioexception reader closed boolean more features false system out println has next called index index size 1 list get size 1 if index list get size 1 more features true return more features
feature reader method query whether this feature reader has another feature
public void close throws ioexception if list null throw new ioexception reader closed list null
feature reader method release the underlying resources associated with this stream
public void set rectangle rectangle double r if r equals this rectangle rectangle double old this rectangle this rectangle r fire property change rectangle old rectangle
sets the rectangle
public rectangle double get rectangle return rectangle
returns the rectangle
public string to string return get class get name rectangle rectangle
returns a string representation of this component with its x and y values
public uri get namespace return null
feature type method comments copied from geo tools feature type interface
public void remove throws ioexception if list null throw new ioexception writer closed replication manager get instance stop sharing feature client object id id client get object id feature list remove item new string list item id to string
feature writer method removes current feature must be called before has next
public void write throws ioexception if list null throw new ioexception writer closed if append object id id client get object id feature list add item new string list item id to string else
feature writer method wrties the current feature must be called before has next
public boolean has next throws ioexception if list null throw new ioexception writer closed if append return false else boolean more features false system out println has next called index index size 1 list get size 1 if index list get size 1 more features true return more features
feature writer method query whether this feature writer has another feature
public void close throws ioexception if list null throw new ioexception writer closed list null
feature writer method release the underlying resources
public boolean is descended from uri ns uri string type name return false
feature type method comments copied from geo tools feature type interface
public shared viewport get shared viewport replicated object client client throws ioexception if shared viewport null shared viewport id null shared viewport shared viewport client get object shared viewport id replication manager get instance start sharing shared viewport client return shared viewport
returns the shared viewport object or null if one does not exist
public object id get shared viewport id return shared viewport id
returns the object id of the shared viewport object
public void set shared viewport id object id shared viewport id if shared viewport id equals this shared viewport id object old this shared viewport id this shared viewport id shared viewport id fire property change shared viewport id old shared viewport id
sets the object id of the shared viewport object
private shared viewport create shared viewport replicated object client client throws ioexception permissions perms delegated permissions create delegated permissions client get object id this client shared viewport sv shared viewport client get new object shared viewport class perms replication manager get instance start sharing sv client return sv
creates a new shared viewport
public boolean is descended from feature type type return false
feature type method comments copied from geo tools feature type interface br
public geometry attribute type get default geometry return null
feature type method comments copied from geo tools feature type interface
public void set map awareness data id object id map awareness data id if map awareness data id equals this map awareness data id map awareness data null object old this map awareness data id this map awareness data id map awareness data id fire property change map awareness data id old map awareness data id
sets the object id of the map awareness data
public object id get map awareness data id return map awareness data id
returns the object id of the map awareness data
public int get attribute count return 1
feature type method comments copied from geo tools feature type interface
protected map awareness data create map awareness data replicated object client client throws ioexception permissions perms delegated permissions create delegated permissions client get object id this client map awareness data mad map awareness data client get new object map awareness data class perms replication manager get instance start sharing mad client return mad
creates a new map awareness data
public shared geographic cursor get cursor replicated object client client throws ioexception if cursor null cursor id null cursor shared geographic cursor client get object cursor id replication manager get instance start sharing cursor client return cursor
returns the cursor object or null if one has not been assigned
public attribute type get attribute type string x path return null
feature type method comments copied from geo tools feature type interface
public void set cursor window string cursor window if cursor window this cursor window object old this cursor window this cursor window cursor window fire property change cursor window old cursor window
sets name of the map display the cursor is over
private shared geographic cursor create geographic cursor replicated object client client throws ioexception permissions perms delegated permissions create delegated permissions client get object id this client shared geographic cursor sgc shared geographic cursor client get new object shared geographic cursor class perms replication manager get instance start sharing sgc client return sgc
creates a new shared geographic cursor
public string get cursor window return cursor window
retrieves the name of the map display the cursor is over
public string to string return get class get name iconified get iconified activated get activated cursor id get cursor id cursor cursor map awareness data id get map awareness data id map awareness data map awareness data
returns a string representation of this object and its values
public stroke create stroke expression color expression width shared stroke ss null try ss shared stroke create stroke color width sld editor get filter factory create literal expression new double 1 0 catch exception e system out println error creating literal expression within style factory impl return ss
convinence method for obtaining a shared stroke with the color and width provided
public void set affine transform affine transform a transform system out println set affine transform new zoom zoom old zoom this zoom if a transform equals this a transform system out println set affine transform different zoom object old this a transform this a transform a transform fire property change affine transform old a transform
sets the affine transform object
public affine transform get affine transform return a transform
returns the affine transform object
public int find attribute type type return 1
feature type method comments copied from geo tools feature type interface
public void set visible area rectangle double visible area system out println set affine transform new zoom zoom old zoom this zoom if visible area equals this visible area system out println set affine transform different zoom object old this visible area this visible area visible area fire property change visible area old visible area
sets the visible area rectangle double object
public rectangle double get visible area return visible area
returns the visible area rectangle double object
public string to string return get class get name a transform get affine transform visible area get visible area
returns a string representation of this object and its values
public string to string return get class get name iconified get iconified activated get activated cursor id get cursor id cursor cursor map awareness data id get map awareness data id map awareness data map awareness data cursor window get cursor window team awareness data id get team awareness data id team awareness data team awareness data
returns a string representation of this object and its values
public int find string att name return 1
feature type method comments copied from geo tools feature type interface
public void set viewport id object id viewport id if viewport id equals this viewport id viewport null object old this viewport id this viewport id viewport id fire property change viewport id old viewport id
sets the object id of the navigation viewport
public object id get viewport id return viewport id
returns the object id of the navigation viewport
public attribute type get attribute type int position return null
gets the schema attribute type at the specified index
public shared viewport get viewport replicated object client client throws ioexception if viewport null viewport id null viewport shared viewport client get object viewport id replication manager get instance start sharing viewport client return viewport
returns the navigation viewport returning null if one does not exist
public stroke create stroke expression color expression width expression opacity shared stroke ss null try ss shared stroke create stroke color width opacity sld editor get filter factory create literal expression miter sld editor get filter factory create literal expression butt null sld editor get filter factory create literal expression new double 0 0 null null catch exception e system out println error creating literal expression within style factory impl return ss
convinence method for obtaining a shared stroke with the color width and opacity
public boolean has attribute type string x path return false
feature type method comments copied from geo tools feature type interface
public void set viewport layers id object id viewport layers id if viewport layers id equals this viewport layers id viewport layers null object old this viewport layers id this viewport layers id viewport layers id fire property change viewport layers id old viewport layers id
sets the object id of the navigation viewport layers
public object id get viewport layers id return viewport layers id
returns the object id of the navigation viewport layers
public feature duplicate feature feature throws illegal attribute exception return null
feature type method comments copied from geo tools feature type interface
public void set conavigation viewport id object id co viewport id if co viewport id equals this co viewport id co viewport null object old this co viewport id this co viewport id co viewport id fire property change co viewport id old co viewport id
sets the object id of the co navigation viewport
public object id get conavigation viewport id return co viewport id
returns the object id of the co navigation viewport
public feature create object attributes throws illegal attribute exception return null
feature type method comments copied from geo tools feature type interface
public void set conavigation viewport layers id object id co viewport layers id if co viewport layers id equals this co viewport layers id co viewport layers null object old this co viewport layers id this co viewport layers id co viewport layers id fire property change co viewport layers id old co viewport layers id
sets the object id of the conavigation viewport layers
public object id get conavigation viewport layers id return co viewport layers id
returns the object id of the conavigation viewport layers
public feature create object attributes string feature id throws illegal attribute exception return null
feature type method comments copied from geo tools feature type interface
public void set selected features id object id selected features id if selected features id equals this selected features id selected features null object old this selected features id this selected features id selected features id fire property change selected features id old selected features id
sets the object id of the list of selected features
public object id get selected features id return selected features id
returns the object id of the list of selected features
public boolean equals object arg0 return super equals arg0
feature type method comments copied from geo tools feature type interface
public line symbolizer create line symbolizer stroke stroke string geometry property name shared line symbolizer sls null try sls new shared line symbolizer sls initialize client permissions perms delegated permissions create delegated permissions id client client add new object sls perms replication manager get instance start sharing sls client if geometry property name null sls set geometry property name geometry property name if stroke null sls set stroke stroke catch exception e system out println error creating shared line symbolizer within style factory impl return sls
creates and returns a shared line symbolizer using the parameters provided
public list get highlight layer return h layer
method to get the layer of the default highlight style
public void init object id id component context context super init id context this context context this client context get replicated object client
overides method in default component view and initializes the replicated object client
public void highlight feature feature f system out println n placing the feature id into the fid filter add the feature s id to the filter so that it knows to highlight it fid filter add fid f get id
this method will add highlighting to a feature using a default
public void remove highlights feature f remove the feature id from the filter so that it is not highlighted fid filter remove fid f get id
this method clears the highlights on the map
private void create window state try permissions perms delegated permissions create delegated permissions id client window state multi geographic map window state client get new object multi geographic map window state class perms replication manager get instance start sharing window state client catch exception e system out println error creating multi geographic map window state
private method to create and intialize a shared geographic map window state object
public void repaint java awt dimension size get size if layered pane null layered pane set preferred size size layered pane set maximum size size layered pane set minimum size size layered pane set size size component layers layered pane get components for int i 0 i layers length i component layer layered pane get component i if layer null layer instanceof radar rectangle component radar rectangle component layer set preferred size size radar rectangle component layer set maximum size size radar rectangle component layer set minimum size size layer set size size
overrides repaint method so that each view is resized properly
public void zoom changed zoom change event event component layers layered pane get components for int i 0 i layers length i component layer layered pane get component i if layer null layer instanceof radar rectangle component radar rectangle component layer update rendered rectangle
underlying map has changed recalculate all rendered rectangles
private void create window state try system out println creating shared window state permissions perms delegated permissions create delegated permissions id client window state geographic map window state client get new object geographic map window state class perms replication manager get instance start sharing window state client catch exception e system out println error creating shared geographic map window state
private method to create and intialize a shared geographic map window state object
private void center screen java awt dimension dim get toolkit get screen size rectangle abounds get bounds set location dim width abounds width 2 dim height abounds height 2 request focus
centers the alt on the computer screen
protected jroot pane create root pane key stroke stroke key stroke get key stroke key event vk escape 0 jroot pane root pane new jroot pane root pane register keyboard action this stroke jcomponent when in focused window return root pane
allows the esc key to close the tool if it has focus
public mark get default mark return get square mark
returns the result of get square mark
public void update data linked list notes linked list tags note list notes tag list tags adjust the appropriate panel section and revalidate repaint center remove tab pane tab pane create views center add tab pane border layout center center revalidate center repaint
method for updating the pane s when new data is added or updated
public text symbolizer get default text symbolizer return null
creates a default text symbolizer using the default fill default font
public void center screen java awt dimension dim get toolkit get screen size rectangle abounds get bounds set location dim width abounds width 2 dim height abounds height 2 request focus
method to place dialog at center on screen
public void action performed action event e if ok e get source user clicked ok commit changes updates note label label get text note tag tag get text set the array accordingly and hide the ui text new string note label note tag set visible false else if no e get source user clicked cancel commit nothing set visible false
handle the user actions either committing text or canceling
public figure add figure figure system out println drawing view add figure return drawing add figure
adds a figure to the drawing