| Top |
Functions
| NcTransferFunc * | nc_transfer_func_new_from_name () |
| NcTransferFunc * | nc_transfer_func_ref () |
| void | nc_transfer_func_free () |
| void | nc_transfer_func_clear () |
| void | nc_transfer_func_prepare () |
| void | nc_transfer_func_prepare_if_needed () |
| gdouble | nc_transfer_func_eval () |
Object Hierarchy
GObject ╰── NcTransferFunc ├── NcTransferFuncBBKS ├── NcTransferFuncCAMB ╰── NcTransferFuncEH
Description
This module comprises the set of functions to compute the transfer function and derived quantities. The applied $k$ unit is $[\mathrm{Mpc}^{-1}]$.
The transfer function, $T(k)$, is defined as, \begin{equation*} T(k) \equiv \frac{\hat{\delta}(k, z=0)}{\hat{\delta}(k, z=\infty)} \frac{\hat{\delta}(k=0, z=\infty)}{\hat{\delta}(k=0, z=0)} \, , \end{equation*} where $\hat{\delta}(k, z)$ is the density perturbation, in Fourier space, for mode (wavenumber) $k$ at redshift $z$. By definition, we have $$ \lim_{k \rightarrow 0} T(k) \rightarrow 1 \, .$$
See Eisenstein and Hu (1998) [arXiv] for more details.
Functions
nc_transfer_func_new_from_name ()
NcTransferFunc *
nc_transfer_func_new_from_name (gchar *transfer_name
);
This function returns a new NcTransferFunc whose type is defined by transfer_name
.
nc_transfer_func_ref ()
NcTransferFunc *
nc_transfer_func_ref (NcTransferFunc *tf
);
Increases the reference count of tf
atomically.
nc_transfer_func_free ()
void
nc_transfer_func_free (NcTransferFunc *tf
);
Atomically decrements the reference count of tf
by one. If the reference count drops to 0,
all memory allocated by tf
is released.
nc_transfer_func_clear ()
void
nc_transfer_func_clear (NcTransferFunc **tf
);
Atomically decrements the reference count of tf
by one. If the reference count drops to 0,
all memory allocated by tf
is released. Set the pointer to NULL.
nc_transfer_func_prepare ()
void nc_transfer_func_prepare (NcTransferFunc *tf
,NcHICosmo *cosmo
);
Prepares the transfer function tf
with model cosmo
,
such that one can evaluate it (nc_transfer_func_eval).
nc_transfer_func_prepare_if_needed ()
void nc_transfer_func_prepare_if_needed (NcTransferFunc *tf
,NcHICosmo *cosmo
);
Prepares (if necessary) the transfer function tf
with model cosmo
.
nc_transfer_func_eval ()
gdouble nc_transfer_func_eval (NcTransferFunc *tf
,NcHICosmo *cosmo
,gdouble kh
);
The transfer function tf
value at mode (wavenumber)
kh
(in $Mpc^{-1}$ units) with model cosmo
.


--- layout: post authors: ["Aleksandra Pawlik"] title: "The Real Purpose of Sprints" date: 2014-08-04 time: "09:00:00" tags: ["Sprint 2014"] ---
"The real purpose of sprints isn't the code, it's getting to know people..." This is what Greg Wilson told me after the first-ever Mozilla Science Lab global sprint. Indeed, over the course of two days, dozens of people all over the world met virtually and in person to develop and improve Software Carpentry teaching materials, infrastructure and a number of MSL-related projects.
I was a part of the team in Krakow which focused mainly on the development of training materials for Data Carpenty. Over the course of two days we worked on new material for using the Python and pandas library for data manipulation. We also contributed to expanding lessons for working with data in spreadsheets. Two of us reviewed the lessons on shell. And we also added to the material on using matplotlib. One of the member of Krakow's group, Piotr Banaszkiewicz worked on his own project: A Web-Based Tool for Peer Instruction.
The Krakow team was lead by Klemens Noga (Cyfronet AGH) and Leszek Tarkowski (czterybity.pl). The other seven participants were Piotr Banaszkiewicz, Iwona Grelowska, and Tomasz Jonak (all from AGH University of Science and Technology), Maciek Czuchry (Cyfronet AGH), Sebastian Kupny (Jagiellonian University), Aleksandra Pawlik (Software Sustainability Institute) and Lukasz Zosiak (ABB Stotz-Kontakt GmbH). On the first day, the sprint was hosted by Academic Computing Centre Cyfronet, where we also worked in the morning on the second day. For the last four hours of the sprint we moved to Ambasada Krakowian, the headquarters of four NGOs, located in the heart of Krakow's Old Town.
On the first day of the sprint Klemens Noga arranged a tour round for all participants to see Cyfronet's supercomputer Zeus. Zeus is noted in the famous Top 500 ranking and allows hundreds of researchers to run the code which advances their research.
The Mozilla Science Lab sprint is over but the work carries on. The event was a real boost and we got a lot of stuff done. Apart from meeting new people, the sprint was also a great opportunity to gain more confidence and encouragement to contribute to the current and new projects.


This is my Glorious About Me page
My name is Matt Wilkin. I'm a Bend native. I love being active outdoors with my wonderful wife, Beth Ann and loyal but mischievous dog, Maggie.
You think you know me?
Test your knowledge by playing my game
My Top 10 Favorite Foods
- Chocolate
- Fresh Salmon
- Good coffee
- Avacado
- Blueberries
- Mushrooms
- Ben and Jerry's Phish Food ice cream
- Fresh salad
- Key Lime Pie
- Bison burger
Destinations on my Travel List
- New Zealand
- Australia
- Thialand
- Japan
- Costa Rica
- Greece
- Italy
- Brazil
- Patagonia
- Indonesia


"Dr. Dolittle 2"
The doctor is in once again as Eddie Murphy reprises his role as the man who can walk with the animals and talk with the animals in "Dr. Dolittle 2."
The summer movie season and the success of the 1998 remake of Hugh Lofting's long successful children's stories have made a sequel to "Dr. Dolittle" inevitable. And, you get what you expect, though without the little surprises the first story had, with the good doctor honing his "talent" to converse with critters. This time around, we know Dr. D, his family and some of the animal crew (Lucky the Dog (voiced by Norm MacDonald), the rats and the drunken monkey (Phil Proctor) appear again) and are introduced to a whole new gaggle of talking creatures.
Now, Dr. John Dolittle is secure in his God-given gift and opened his clinic doors to humans and animals alike. With his professional life in good working order, John turns his attention to his family, only to find that his daughter, Charisse (Raven-Symone), has become withdrawn and petulant. As he tries to cope with the emotional state of his teenager, he is solicited by a tough-talking raccoon that insists that the doctor come to the nearby forest to have a sit down with his boss, known as The Beaver. The doc agrees to makes the journey and, to his horror, discovers that a lumber company is clear-cutting the forest for profit and the forest creatures' homes are in peril.
Dr. John looks into the situation and finds there is no way to stop the devastation - except if it will save an endangered species. One such candidate is a lone female Pacific Western bear that lives in the woods, but without a mate to propagate the species, the government refuses to save her or the forest. The only male bear of the same species anywhere nearby is the member of a circus troupe and he, Archie (Steve Zahn), refuses to give up his creature comforts - until he catches sight of the attractive femme bear, Eva (Lisa Kudrow). In a Rocky-esque series of events, Dr. Dolittle vows to help change Archie's behavior and introduce the bruin to the forest (and Eva) to make little bears. It's a battle against the clock as John struggles to make Archie a true bear of the world while they try to save the habitat of all the other animals.
"Dr. Dolittle 2" is just what you expect, no less and not more. Half of the film consists of a whole bunch of animal animatronics and computer graphics that give the desired anthropomorphism that we came to enjoy so much the first time around. This is where almost every laugh comes from as the various creatures strut their stuff and sass the good doctor.  When the godfather-like Beaver explains, "I'm just a fisherman blessed with many friends," a la Don Corleone, or his hench-raccoon, Joey, (Michael Rapaport) uses a cell phone, it is funny. The rest of the critters get to put their funny two cents in, too.
The human half of the story fares less well, mainly because it's just too human. There is an evil plot by the state government, greedy businessmen (Jeffrey Jones) and, of course, their lawyers (Kevin Pollack) to destroy the land and make all the animals homeless. The forest critters, led by the understanding Dr. Dolittle, must do battle to stop the megalith and they do so in a way that would make Gandhi proud. But, the man story is the least of the two halves.
The human characters, except for Murphy as the doctor, are superfluous. When John has tender moments with his family or faces off against the corporate baddies, you just want him to go back to the animals. I think, for the next sequel (and I guarantee there will be another), they should forget the people and stick with the animals.
With Lucky marking his territory over and over and Archie having intestinal problems at one point, we are talking lowest common denominator, humor-wise. The target for the toilet humor is the younger audience (which is why more animals/less plot would be better, at least from a kid's POV). The "story" of saving the environment is simply a frame to lay the gags upon and provide the attending parents with an "adult" story when they take their kids to see the doctor and his friends. But, "Dr. Dolittle 2" is for kids and for the kid in us. I give it a C+.
For more Reeling reviews visit www.reelingreviews.com
<EMAIL_ADDRESS><EMAIL_ADDRESS>The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Be careful when using files. Many platforms have peculiar issues related to opening and creating files. Understand the nuances of using files with your platform and handle files with this understanding.
The issues with file handling stem from the fact that operating systems implement counter-intuitive functionality as a part of their file handling features, such as being able to manipulate non-files in the same way as files, following symbolic names, or having multiple names for the same file. These features are then typically inherited by whatever platform is running on those operating systems and thus by the application. Sloppy file operations can result in a number of vulnerabilities such as allowing attackers to overwrite or read files in a manner not intended by the application.
The issues related to the To prevent overwriting data in files when writing to them:
Identify possible file-handling pitfalls for your platform. TM articles describe some of these pitfalls, but ultimately the developer is responsible for understanding the application's environment.
Determine best practices for file-handling. TM articles describe some of the most common file-handling issues and how to control them using best practices.
Identify code that writes to files. Search for code that creates, reads, or writes files. Make a spreadsheet of all such code.
Apply best practices. Apply the file-handling best practices to the code that uses files.


SudzC is a tool for generating proxy code from web service definition files (WSDL). While it supports generating code in multiple languages, it's focus it Objective-C. This documentation was generated to help you get started with SudzC immediately.
This documentation is design to allow you to reference your newly generated code base. To get started, click on a package on the left. This will reveal the service methods that are available. You can then go directly into a class reference by clicking a link on the left-side navigation, or by clicking on inline links on the right. This lets you traverse the code hierarchy.
To get back to this screen, simply click the "All Packages" link at the top of the navigation, followed by the "Getting Started" link to return here.
In addition to this documentation and the generated code files, a sample project has been created. You can open this project and get started right now. This includes real code samples and fragments to jump in quickly. However, you will probably want to add SudzC to your own project. To do that, follow the directions below.
Copy the "Source" folder contained in the archive into your Xcode project tree by dragging it from your Finder, into the tree. You may want to add them in their own folder group, or rename it to make managing your project a little easier in the future.
Be sure to add the SystemConfiguration framework to your project. This enables the web service calls to check network availability on each request in order to abide by the Apple User Interface guidelines.
In order to compile the project, you must add a header to the project settings so that TouchXML works correctly. To do this, choose "Edit Project Settings" from the "Project" menu in the menubar. Navigate to the "Build" tab and make the following changes, without quotes.
That's it!
To make a web service call, you first create an instance of your service class. This should be the one named after the class you used to make your web services. For instance, if you are dealing with Widgets, you may have WidgetService. This will translate into an Objective-C class. To use it, you must first include it by importing the header file:
#import "WidgetService.h"
Then in your code, instantiate the class with an alloc/init:
WidgetService* service = [[WidgetService alloc] init];
You could also use the class method to make this even easier:
WidgetService* service = [WidgetService service];
Now that class has a whole bunch of methods associated with it. Service classes can also be set to use custom URLs, send SOAP headers, etc... but for now, we will keep it simple. Let's say you have a method to find widgets called "Find". You would call that method like this:
[service Find: self action: @selector(handleFind:) criteria: @"test" maxRecords: 5];
In this case, we call the method with two parameters: criteria and maxRecords. The first parameter right after Find: references the "delegate", or the object that is going to handle the request. The second parameter "action" specifies a method that is going to handle the result. This is the easiest way to implement a call, although there is a way to do it without the "action" method, but I'm not going to confuse you.
To handle the results from the web service, you write a method called "handleFind:" This is a method written in the delegate object you specified in the first parameter. So in this case, make the method in the same object making the call, or "self".
-(void)handleFind: (id) result { if([result isKindOfClass: [NSError class]]) { // If an error has occurred, handle it return; } if([result isKindOfClass: [SoapFault class]]) { // If a server error has occurred, handle it return; } // Actually do something with the result... self.myDataArray = (NSMutableArray*)result; }
So in this example, the "handleFind" method handles any response that calling the Find method creates. Each request can return either an error (like could not resolve the domain name for instance), a SoapFault (an error occurred in your code on the server), or the actual result. The results come back as a "typed" class, but are sent using the Objective-C "id" type, which you can kind of think of as a "var" in Javascript.
Another way to handle the response, is to have the class from which you are calling the method implement the SoapDelegate protocol. You do this in your implementation file. So if you are writing a UITableViewController you would use it like this:
@interface MyTableViewController : UITableViewController{ // Your interface here... }
The SoapDelegate class requires an onload: method, but optionally takes an onerror: and onfault: method. This is similar to the other method, except your request does not include an "action" parameter:
[service Find: self criteria: @"test" maxRecords: 5];
When the method returns results, it calls "onload:". If it returns an error, it calls "onerror:", and when a SoapFault, "onfault:". You write your method slightly different without all the class type testing because you know you are only going to get an actual result in onload:
-(void)onload:(id)result { self.myDataArray = result; }
Another common technique used is to implement the "onload:" method for every call made to the object. Then determine what the result is to determine what to do. For instance, we might call "Find", which returns an array, and also "Create" which returns a Widget. So we can do this:
-(void)onload:(id)result { if([result isKindOfClass: [NSArray class]]) { self.myDataArray = result; } if([result isKindOfClass:[Widget class]]) { [self.myDataArray addObject: result]; } }
Hopefully this gets you started in your development. Please do not forget to right-click on your service class to see the code. SudzC uses the WSDL comments and such to document each method and what it returns.


In 2020, our church is attempting to RESET to the mission God gave us to complete in Matthew 28:19-20. To do this we are resetting four main areas of our lives. Our Identity, Our Priorities, Our Witness, and Our Discipleship.


Vacation Suggester
Enter your name
Which continent do you want go?
-- select an option --
a. Asia
b. Africa
c. Europe
d. Antarctica
What do you like?
-- select an option --
a. Adventure
b. History & Culture
c. Beaches & Sun
d. Watching TV
Who are you traveling with?
-- select an option --
a. Myself
b. Family
c. Travel Group
d. Secret People
How long do you want your vacation to be?
-- select an option --
a. Over three weeks
b. Two to three weeks
c. Less than two weeks
d. A few hours
what enviroment do you want to experience?
-- select an option --
a. Polar
b. Tropical
c. Moderate
d. Outter space
click to see your destination
,


I love to play video games in my free time and one of the favorites is Rocket League. It is pretty much soccer but you play with cars that can jump around and boost around hitting some high speeds. I love playing this game and many more with my friends it just adds a whole new factor of fun when I'm with them.


{{ '1234567890abcdefghijk' | omit:10:'･･････' }}
{{ [0,1,2,3,4,5,6,7,8,9] | odd }}
{{ [0,1,2,3,4,5,6,7,8,9] | sum }}


@header@
| Writing blog entry decorators |
|
Blog entry decorators are a type of Pebble plugin that allow you to extend the way that blog entries are displayed in the HTML pages of your blog and the XML newsfeeds that are generated. The following features have been externalized into decorators and are included in the distribution.
To write your own custom decorator, you need to write a Java class that implements the pebble.decorator.BlogEntryDecorator interface. A default implementation is also available to subclass from called pebble.decorator.BlogEntryDecoratorSupport. The code for the DisableResponseDecorator is shown here as an example. package pebble.decorator; import pebble.blog.BlogEntry; /** * Disables comments and TrackBacks for the blog entry. * * @author Simon Brown */ public class DisableResponseDecorator extends BlogEntryDecoratorSupport { /** * Executes the logic associated with this decorator. * * @param blogEntry the BlogEntry to run against * @param context the context in which the decoration is running * @throws BlogEntryDecoratorException * if something goes wrong when running the decorator */ public void decorate(BlogEntry blogEntry, BlogEntryDecoratorContext context) throws BlogEntryDecoratorException { blogEntry.setCommentsEnabled(false); blogEntry.setTrackBacksEnabled(false); } /** * Gets the name of this decorator. * * @return the name of this decorator as a String */ public String getName() { return "Disable response decorator"; } }
To use your decorator, you must add your compiled class to the classpath of the Pebble web application. To do this,
either place the class file(s) underneath the
After saving the blog properties, click the Reload blog link so that the new plugin is started. If you've added new classes to the web application classpath, you'll need to restart the web application so that they are picked up by the servlet container. |


56 B.C.
"caes.gal.3.1": [3.1] When Caesar was setting out for Italy, he sent Servius Galba with the twelfth legion and part of the cavalry, against the Nantuates, the Veragri, and Seduni, who extend from the territories of the Allobroges, and the lake of Geneva, and the River Rhone to the top of the Alps. The reason for sending him was, that he desired that the pass along the Alps, through which [the Roman] merchants had been accustomed to travel with great danger, and under great imposts, should be opened. He permitted him, if he thought it necessary, to station the legion in these places, for the purpose of wintering. Galba having fought some successful battles and stormed several of their forts, upon embassadors being sent to him from all parts and hostages given and a peace concluded, determined to station two cohorts among the Nantuates, and to winter in person with the other cohorts of that legion in a village of the Veragri, which is called Octodurus; and this village being situated in a valley, with a small plain annexed to it, is bounded on all sides by very high mountains. As this village was divided into two parts by a river, he granted one part of it to the Gauls, and assigned the other, which had been left by them unoccupied, to the cohorts to winter in. He fortified this [latter] part with a rampart and a ditch.
"caes.gal.3.2": [3.2] When several days had elapsed in winter quarters, and he had ordered corn to be brought in he was suddenly informed by his scouts that all the people had gone off in the night from that part of the town which he had given up to the Gauls, and that the mountains which hung over it were occupied by a very large force of the Seduni and Veragri. It had happened for several reasons that the Gauls suddenly formed the design of renewing the war and cutting off that legion. First, because they despised a single legion, on account of its small number, and that not quite full (two cohorts having been detached, and several individuals being absent, who had been dispatched for the purpose of seeking provision); then, likewise, because they thought that on account of the disadvantageous character of the situation, even their first attack could not be sustained [by us] when they would rush from the mountains into the valley, and discharge their weapons upon us. To this was added, that they were indignant that their children were torn from them under the title of hostages, and they were persuaded that the Romans designed to seize upon the summits of the Alps, and unite those parts to the neighboring province [of Gaul], not only to secure the passes, but also a constant possession.
"caes.gal.3.3": [3.3] Having received these tidings, Galba, since the works of the winter-quarters and the fortifications were not fully completed, nor was sufficient preparation made with regard to corn and other provisions (since, as a surrender had been made, and hostages received, he had thought he need entertain no apprehension of war), speedily summoning a council, began to anxiously inquire their opinions. In which council, since so much sudden danger had happened contrary to the general expectation, and almost all the higher places were seen already covered with a multitude of armed men, nor could [either] troops come to their relief, or provisions be brought in, as the passes were blocked up [by the enemy]; safety being now nearly despaired of, some opinions of this sort were delivered: that, "leaving their baggage, and making a sally, they should hasten away for safety by the same routes by which they had come thither." To the greater part, however, it seemed best, reserving that measure to the last, to await the issue of the matter, and to defend the camp.
"caes.gal.3.4": [3.4] A short time only having elapsed, so that time was scarcely given for arranging and executing those things which they had determined on, the enemy, upon the signal being given, rushed down [upon our men] from all parts, and discharged stones and darts, upon our rampart. Our men at first, while their strength was fresh, resisted bravely, nor did they cast any weapon ineffectually from their higher station. As soon as any part of the camp, being destitute of defenders, seemed to be hard pressed, thither they ran, and brought assistance. But they were over-matched in this, that the enemy when wearied by the long continuance of the battle, went out of the action, and others with fresh strength came in their place; none of which things could be done by our men, owing to the smallness of their number; and not only was permission not given to the wearied [Roman] to retire from the fight, but not even to the wounded [was liberty granted] to quit the post where he had been stationed, and recover.
"caes.gal.3.5": [3.5] When they had now been fighting for more than six hours, without cessation, and not only strength, but even weapons were failing our men, and the enemy were pressing on more rigorously, and had begun to demolish the rampart and to fill up the trench, while our men were becoming exhausted, and the matter was now brought to the last extremity, P. Sextius Baculus, a centurion of the first rank, whom we have related to have been disabled by severe wounds in the engagement with the Nervii, and also C. Volusenus, a tribune of the soldiers, a man of great skill and valor, hasten to Galba, and assure him that the only hope of safety lay in making a sally, and trying the last resource. Whereupon assembling the centurions, he quickly gives orders to the soldiers to discontinue the fight a short time, and only collect the weapons flung [at them], and recruit themselves after their fatigue, and afterward, upon the signal being given, sally forth from the camp, and place in their valor all their hope of safety.
"caes.gal.3.6": [3.6] They do what they were ordered; and, making a sudden sally from all the gates [of the camp], leave the enemy the means neither of knowing what was taking place, nor of collecting themselves. Fortune thus taking a turn, [our men] surround on every side, and slay those who had entertained the hope of gaining the camp and having killed more than the third part of an army of more than 30,000 men (which number of the barbarians it appeared certain had come up to our camp), put to flight the rest when panic-stricken, and do not suffer them to halt even upon the higher grounds. All the forces of the enemy being thus routed, and stripped of their arms, [our men] betake themselves to their camp and fortifications. Which battle being finished, inasmuch as Galba was unwilling to tempt fortune again, and remembered that he had come into winter quarters with one design, and saw that he had met with a different state of affairs; chiefly however urged by the want of corn and provision, having the next day burned all the buildings of that village, he hastens to return into the province; and as no enemy opposed or hindered his march, he brought the legion safe into the [country of the] Nantuates, thence into [that of] the Allobroges, and there wintered.
"caes.gal.3.7": [3.7] These things being achieved, while Caesar had every reason to suppose that Gaul was reduced to a state of tranquillity, the Belgae being overcome, the Germans expelled, the Seduni among the Alps defeated, and when he had, therefore, in the beginning of winter, set out for Illyricum, as he wished to visit those nations, and acquire a knowledge of their countries, a sudden war sprang up in Gaul. The occasion of that war was this: P. Crassus, a young man, had taken up his winter quarters with the seventh legion among the Andes, who border upon the [Atlantic] ocean. He, as there was a scarcity of corn in those parts, sent out some officers of cavalry, and several military tribunes among the neighbouring states, for the purpose of procuring corn and provision; in which number T. Terrasidius was sent among the Esubii; M. Trebius Gallus among the Curiosolitae; Q. Velanius, T. Silius, amongst the Veneti.
"caes.gal.3.8": [3.8] The influence of this state is by far the most considerable of any of the countries on the whole sea coast, because the Veneti both have a very great number of ships, with which they have been accustomed to sail to Britain, and [thus] excel the rest in their knowledge and experience of nautical affairs; and as only a few ports lie scattered along that stormy and open sea, of which they are in possession, they hold as tributaries almost all those who are accustomed to traffic in that sea. With them arose the beginning [of the revolt] by their detaining Silius and Velanius; for they thought that they should recover by their means the hostages which they had given to Crassus. The neighboring people led on by their influence (as the measures of the Gauls are sudden and hasty), detain Trebius and Terrasidius for the same motive; and quickly sending embassadors, by means of their leading men, they enter into a mutual compact to do nothing except by general consent, and abide the same issue of fortune; and they solicit the other states to choose rather to continue in that liberty which they had received from their ancestors, than endure slavery under the Romans. All the sea coast being quickly brought over to their sentiments, they send a common embassy to P. Crassus [to say], "If he wished to receive back his officers, let him send back to them their hostages."
"caes.gal.3.9": [3.9] Caesar, being informed of these things by Crassus, since he was so far distant himself, orders ships of war to be built in the mean time on the river Loire, which flows into the ocean; rowers to be raised from the province; sailors and pilots to be provided. These matters being quickly executed, he himself, as soon as the season of the year permits, hastens to the army. The Veneti, and the other states also, being informed of Caesar's arrival, when they reflected how great a crime they had committed, in that, the embassadors (a character which had among all nations ever been sacred and inviolable) had by them been detained and thrown into prison, resolve to prepare for a war in proportion to the greatness of their danger, and especially to provide those things which appertain to the service of a navy, with the greater confidence, inasmuch as they greatly relied on the nature of their situation. They knew that the passes by land were cut off by estuaries, that the approach by sea was most difficult, by reason of our ignorance of the localities, [and] the small number of the harbors, and they trusted that our army would not be able to stay very long among them, on account of the insufficiency of corn; and again, even if all these things should turn out contrary to their expectation, yet they were very powerful in their navy. They well understood that the Romans neither had any number of ships, nor were acquainted with the shallows, the harbors, or the islands of those parts where they would have to carry on the war; and the navigation was very different in a narrow sea from what it was in the vast and open ocean. Having come to this resolution, they fortify their towns, convey corn into them from the country parts, bring together as many ships as possible to Venetia, where it appeared Caesar would at first carry on the war. They unite to themselves as allies for that war, the Osismii, the Lexovii, the Nannetes, the Ambiliati, the Morini, the Diablintes, and the Menapii; and send for auxiliaries from Britain, which is situated over against those regions.
"caes.gal.3.10": [3.10] There were these difficulties which we have mentioned above, in carrying on the war, but many things, nevertheless, urged Caesar to that war;-the open insult offered to the state in the detention of the Roman knights, the rebellion raised after surrendering, the revolt after hostages were given, the confederacy of so many states, but principally, lest if, [the conduct of] this part was overlooked, the other nations should think that the same thing was permitted them. Wherefore, since he reflected that almost all the Gauls were fond of revolution, and easily and quickly excited to war; that all men likewise, by nature, love liberty and hate the condition of slavery, he thought he ought to divide and more widely distribute his army, before more states should join the confederation.
"caes.gal.3.11": [3.11] He therefore sends T. Labienus, his lieutenant, with the cavalry to the Treviri, who are nearest to the river Rhine. He charges him to visit the Remi and the other Belgians, and to keep them in their allegiance and repel the Germans (who were said to have been summoned by the Belgae to their aid,) if they attempted to cross the river by force in their ships. He orders P. Crassus to proceed into Aquitania with twelve legionary cohorts and a great number of the cavalry, lest auxiliaries should be sent into Gaul by these states, and such great nations be united. He sends Q. Titurius Sabinus his lieutenant, with three legions, among the Unelli, the Curiosolitae, and the Lexovii, to take care that their forces should be kept separate from the rest. He appoints D. Brutus, a young man, over the fleet and those Gallic vessels which he had ordered to be furnished by the Pictones and the Santoni, and the other provinces which remained at peace; and commands him to proceed toward the Veneti, as soon as he could. He himself hastens thither with the land forces.
"caes.gal.3.12": [3.12] The sites of their towns were generally such that, being placed on extreme points [of land] and on promontories, they neither had an approach by land when the tide had rushed in from the main ocean, which always happens twice in the space of twelve hours; nor by ships, because, upon the tide ebbing again, the ships were likely to be dashed upon the shoals. Thus, by either circumstance, was the storming of their towns rendered difficult; and if at any time perchance the Veneti overpowered by the greatness of our works, (the sea having been excluded by a mound and large dams, and the latter being made almost equal in height to the walls of the town) had begun to despair of their fortunes; bringing up a large number of ships, of which they had a very great quantity, they carried off all their property and betook themselves to the nearest towns; there they again defended themselves by the same advantages of situation. They did this the more easily during a great part of the summer, because our ships were kept back by storms, and the difficulty of sailing was very great in that vast and open sea, with its strong tides and its harbors far apart and exceedingly few in number.
"caes.gal.3.13": [3.13] For their ships were built and equipped after this manner. The keels were somewhat flatter than those of our ships, whereby they could more easily encounter the shallows and the ebbing of the tide: the prows were raised very high, and, in like manner the sterns were adapted to the force of the waves and storms [which they were formed to sustain]. The ships were built wholly of oak, and designed to endure any force and violence whatever; the benches which were made of planks a foot in breadth, were fastened by iron spikes of the thickness of a man's thumb; the anchors were secured fast by iron chains instead of cables, and for sails they used skins and thin dressed leather. These [were used] either through their want of canvas and their ignorance of its application, or for this reason, which is more probable, that they thought that such storms of the ocean, and such violent gales of wind could not be resisted by sails, nor ships of such great burden be conveniently enough managed by them. The encounter of our fleet with these ships' was of such a nature that our fleet excelled in speed alone, and the plying of the oars; other things, considering the nature of the place [and] the violence of the storms, were more suitable and better adapted on their side; for neither could our ships injure theirs with their beaks (so great was their strength), nor on account of their height was a weapon easily cast up to them; and for the same reason they were less readily locked in by rocks. To this was added, that whenever a storm began to rage and they ran before the wind, they both could weather the storm more easily and heave to securely in the shallows, and when left by the tide feared nothing from rocks and shelves: the risk of all which things was much to be dreaded by our ships.
"caes.gal.3.14": [3.14] Caesar, after taking many of their towns, perceiving that so much labor was spent in vain and that the flight of the enemy could not be prevented on the capture of their towns, and that injury could not be done them, he determined to wait for his fleet. As soon as it came up and was first seen by the enemy, about 220 of their ships, fully equipped and appointed with every kind of [naval] implement, sailed forth from the harbor, and drew up opposite to ours; nor did it appear clear to Brutus, who commanded the fleet, or to the tribunes of the soldiers and the centurions, to whom the several ships were assigned, what to do, or what system of tactics to adopt; for they knew that damage could not be done by their beaks; and that, although turrets were built [on their decks], yet the height of the stems of the barbarian ships exceeded these; so that weapons could not be cast up from [our] lower position with sufficient effect, and those cast by the Gauls fell the more forcibly upon us. One thing provided by our men was of great service, [viz.] sharp hooks inserted into and fastened upon poles, of a form not unlike the hooks used in attacking town walls. When the ropes which fastened the sail-yards to the masts were caught by them and pulled, and our vessel vigorously impelled with the oars, they [the ropes] were severed; and when they were cut away, the yards necessarily fell down; so that as all the hope of the Gallic vessels depended on their sails and rigging, upon these being cut away, the entire management of the ships was taken from them at the same time. The rest of the contest depended on courage; in which our men decidedly had the advantage; and the more so, because the whole action was carried on in the sight of Caesar and the entire army; so that no act, a little more valiant than ordinary, could pass unobserved, for all the hills and higher grounds, from which there was a near prospect of the sea were occupied by our army.
"caes.gal.3.15": [3.15] The sail yards [of the enemy], as we have said, being brought down, although two and [in some cases] three ships [of theirs] surrounded each one [of ours], the soldiers strove with the greatest energy to board the ships of the enemy; and, after the barbarians observed this taking place, as a great many of their ships were beaten, and as no relief for that evil could be discovered, they hastened to seek safety in flight. And, having now turned their vessels to that quarter in which the wind blew, so great a calm and lull suddenly arose, that they could not move out of their place, which circumstance, truly, was exceedingly opportune for finishing the business; for our men gave chase and took them one by one, so that very few out of all the number, [and those] by the intervention of night, arrived at the land, after the battle had lasted almost from the fourth hour till sun-set.
"caes.gal.3.16": [3.16] By this battle the war with the Veneti and the whole of the sea coast was finished; for both all the youth, and all, too, of more advanced age, in whom there was any discretion or rank, had assembled in that battle; and they had collected in that one place whatever naval forces they had anywhere; and when these were lost, the survivors had no place to retreat to, nor means of defending their towns. They accordingly surrendered themselves and all their possessions to Caesar, on whom Caesar thought that punishment should be inflicted the more severely, in order that for the future the rights of embassadors might be more carefully respected by barbarians; having, therefore, put to death all their senate, he sold the rest for slaves.
"caes.gal.3.17": [3.17] While these things are going on among the Veneti, Q. Titurius Sabinus with those troops which he had received from Caesar, arrives in the territories of the Unelli. Over these people Viridovix ruled, and held the chief command of all those states which had revolted; from which he had collected a large and powerful army. And in those few days, the Aulerci and the Sexovii, having slain their senate because they would not consent to be promoters of the war, shut their gates [against us] and united themselves to Viridovix; a great multitude besides of desperate men and robbers assembled out of Gaul from all quarters, whom the hope of plundering and the love of fighting had called away from husbandry and their daily labor. Sabinus kept himself within his camp, which was in a position convenient for everything; while Viridovix encamped over against him at a distance of two miles, and daily bringing out his forces, gave him an opportunity of fighting; so that Sabinus had now not only come into contempt with the enemy, but also was somewhat taunted by the speeches of our soldiers; and furnished so great a suspicion of his cowardice that the enemy presumed to approach even to the very rampart of our camp. He adopted this conduct for the following reason: because he did not think that a lieutenant ought to engage in battle with so great a force, especially while he who held the chief command was absent, except on advantageous ground or some favorable circumstance presented itself.
"caes.gal.3.18": [3.18] After having established this suspicion of his cowardice, he selected a certain suitable and crafty Gaul, who was one of those whom he had with him as auxiliaries. He induces him by great gifts and promises to go over to the enemy; and informs [him] of what he wished to be done. Who, when he arrives among them as a deserter, lays before them the fears of the Romans; and informs them by what difficulties Caesar himself was harassed, and that the matter was not far removed from this- that Sabinus would the next night privately draw off his army out of the camp and set forth to Caesar for the purpose of carrying [him] assistance, which, when they heard, they a11 cry out together that an opportunity of successfully conducting their enterprise, ought not to be thrown away: that they ought to go to the [Roman] camp. Many things persuaded the Gauls to this measure; the delay of Sabinus during the previous days; the positive assertion of the [pretended] deserter; want of provisions, for a supply of which they had not taken the requisite precautions; the hope springing from the Venetic war; and [also] because in most cases men willingly believe what they wish. Influenced by these things they do not discharge Viridovix and the other leaders from the council, before they gained permission from them to take up arms and hasten to [our] camp; which being granted, rejoicing as if victory were fully certain, they collected faggots and brushwood, with which to fill up the Roman trenches, and hasten to the camp.
"caes.gal.3.19": [3.19] The situation of the camp was a rising ground, gently sloping from the bottom for about a mile. Thither they proceeded with great speed (in order that as little time as possible might be given to the Romans to collect and arm themselves), and arrived quite out of breath. Sabinus having encouraged his men, gives them the signal, which they earnestly desired. While the enemy were encumbered by reason of the burdens which they were carrying, he orders a sally to be made suddenly from two gates [of the camp]. It happened, by the advantage of situation, by the unskilfulness and the fatigue of the enemy, by the valor of our soldiers, and their experience in former battles, that they could not stand one attack of our men, and immediately turned their backs; and our men with full vigor followed them while disordered, and slew a great number of them; the horse pursuing the rest, left but few, who escaped by flight. Thus at the same time, Sabinus was informed of the naval battle and Caesar of victory gained by Sabinus; and all the states immediately surrendered themselves to Titurius: for as the temper of the Gauls is impetuous and ready to undertake wars, so their mind is weak, and by no means resolute in enduring calamities.
"caes.gal.3.20": [3.20] About the same time, P. Crassus, when he had arrived in Aquitania (which, as has been before said, both from its extent of territory and the great number of its people, is to be reckoned a third part of Gaul,) understanding that he was to wage war in these parts, where a few years before, L. Valerius Praeconinus, the lieutenant had been killed, and his army routed, and from which L. Manilius, the proconsul, had fled with the loss of his baggage, he perceived that no ordinary care must be used by him. Wherefore, having provided corn, procured auxiliaries and cavalry, [and] having summoned by name many valiant men from Tolosa, Carcaso, and Narbo, which are the states of the province of Gaul, that border on these regions [Aquitania], he led his army into the territories of the Sotiates. On his arrival being known, the Sotiates having brought together great forces and [much] cavalry, in which their strength principally lay, and assailing our army on the march, engaged first in a cavalry action, then when their cavalry was routed, and our men pursuing, they suddenly display their infantry forces, which they had placed in ambuscade in a valley. These attacked our men [while] disordered, and renewed the fight.
"caes.gal.3.21": [3.21] The battle was long and vigorously contested, since the Sotiates, relying on their former victories, imagined that the safety of the whole of Aquitania rested on their valor; [and] our men, on the other hand, desired it might be seen what they could accomplish without their general and without the other legions, under a very young commander; at length the enemy, worn out with wounds, began to turn their backs, and a great number of them being slain, Crassus began to besiege the [principal] town of the Sotiates on his march. Upon their valiantly resisting, he raised vineae and turrets. They at one time attempting a sally, at another forming mines, to our rampart and vineae (at which the Aquitani are eminently skilled, because in many places among them there are copper mines); when they perceived that nothing could be gained by these operations through the perseverance of our men, they send embassadors to Crassus, and entreat him to admit them to a surrender. Having obtained it, they, being ordered to deliver up their arms, comply.
"caes.gal.3.22": [3.22] And while the attention of our men is engaged in that matter, in another part Adcantuannus, who held the chief command, with 600 devoted followers whom they call soldurii (the conditions of whose association are these,-that they enjoy all the conveniences of life with those to whose friendship they have devoted themselves: if any thing calamitous happen to them, either they endure the same destiny together with them, or commit suicide: nor hitherto, in the, memory of men, has there been found any one who, upon his being slain to whose friendship he had devoted himself, refused to die); Adcantuannus, [Isay] endeavoring to make a sally with these, when our soldiers had rushed together to arms, upon a shout being raised at that part of the, fortification, and a fierce battle had been fought there, was driven back into the town, yet he obtained from Crassus [the indulgence] that he should enjoy the same terms of surrender [as the other inhabitants].
"caes.gal.3.23": [3.23] Crassus, having received their arms and hostages, marched into the territories of the Vocates and the Tarusates. But then, the barbarians being alarmed, because they had heard that a town fortified by the nature of the place and by art, had been taken by us in a few days after our arrival there, began to send embassadors into all quarters, to combine, to give hostages one to another, to raise troops. Embassadors also are sent to those states of Hither Spain which are nearest to Aquitania, and auxiliaries and leaders are summoned from them; on whose arrival they proceed to carry on the war with great confidence, and with a great host of men. They who had been with Q. Sertorius the whole period [of his war in Spain] and were supposed to have very great skill in military matters, are chosen leaders. These, adopting the practice of the Roman people, begin to select [advantageous] places, to fortify their camp, to cut off our men from provisions, which, when Crassus observes, [and likewise] that his forces, on account of their small number could not safely be separated; that the enemy both made excursions and beset the passes, and [yet] left sufficient guard for their camp; that on that account, corn and provision could not very conveniently be brought up to him, and that the number of the enemy was daily increased, he thought that he ought not to delay in giving battle. This matter being brought to a council, when he discovered that all thought the same thing, he appointed the next day for the fight.
"caes.gal.3.24": [3.24] Having drawn out all his forces at the break of day, and marshaled them in a double line, he posted the auxiliaries in the center, and waited to see what measures the enemy would take. They, although on account of their great number and their ancient renown in war, and the small number of our men, they supposed they might safely fight, nevertheless considered it safer to gain the victory without any wound, by besetting the passes [and] cutting off the provisions: and if the Romans, on account of the want of corn, should begin to retreat, they intended to attack them while encumbered in their march and depressed in spirit [as being assailed while] under baggage. This measure being approved of by the leaders and the forces of the Romans drawn out, the enemy [still] kept themselves in their camp. Crassus having remarked this circumstance, since the enemy, intimidated by their own delay, and by the reputation [i.e. for cowardice arising thence] had rendered our soldiers more eager for fighting, and the remarks of all were heard [declaring] that no longer ought delay to be made in going to the camp, after encouraging his men, he marches to the camp of the enemy, to the great gratification of his own troops.)
"caes.gal.3.25": [3.25] There, while some were filling up the ditch, and others, by throwing a large number of darts, were driving the defenders from the rampart and fortifications, and the auxiliaries, on whom Crassus did not much rely in the battle, by supplying stones and weapons [to the soldiers], and by conveying turf to the mound, presented the appearance and character of men engaged in fighting; while also the enemy were fighting resolutely and boldly, and their weapons, discharged from their higher position, fell with great effect; the horse, having gone round the camp of the enemy, reported to Crassus that the camp was not fortified with equal care on the side of the Decuman gate, and had an easy approach.
"caes.gal.3.26": [3.26] Crassus, having exhorted the commanders of the horse to animate their men by great rewards and promises, points out to them what he wished to have done. They, as they had been commanded, having brought out the four cohorts, which, as they had been left as a guard for the camp, were not fatigued by exertion, and having led them round by a some what longer way, lest they could be seen from the camp of the enemy, when the eyes and minds of all were intent upon the battle, quickly arrived at those fortifications which we have spoken of, and, having demolished these, stood in the camp of the enemy before they were seen by them, or it was known what was going on. And then, a shout being heard in that quarter, our men, their strength having been recruited, (which usually occurs on the hope of victory), began to fight more vigorously. The enemy surrounded on all sides, [and] all their affairs being despaired of, made great attempts to cast themselves down over the ramparts and to seek safety in flight. These the cavalry pursued over the very open plains, and after leaving scarcely a fourth part out of the number of 50,000, which it was certain had assembled out of Aquitania and from the Cantabri, returned late at night to the camp.
"caes.gal.3.27": [3.27] Having heard of this battle, the greatest part of Aquitania surrendered itself to Crassus, and of its own accord sent hostages, in which number were the Tarbelli, the Bigerriones, the Preciani, the Vocasates, the Tarusates, the Elurates, the Garites, the Ausci, the Garumni, the Sibuzates, the Cocosates. A few [and those] most remote nations, relying on the time of the year, because winter was at hand, neglected to do this.
"caes.gal.3.28": [3.28] About the same time Caesar, although the summer was nearly past, yet, since, all Gaul being reduced, the Morini and the Menapii alone remained in arms, and had never sent embassadors to him [to make a treaty] of peace, speedily led his army thither, thinking that that war might soon be terminated. They resolved to conduct the war on a very different method from the rest of the Gauls; for as they perceived that the greatest nations [of Gaul] who had engaged in war, had been routed and overcome, and as they possessed continuous ranges of forests and morasses, they removed themselves and all their property thither. When Caesar had arrived at the opening of these forests, and had began to fortify his camp, and no enemy was in the mean time seen, while our men were dispersed on their respective duties, they suddenly rushed out from all parts of the forest, and made an attack on our men. The latter quickly took up arms and drove them back again to their forests; and having killed a great many, lost a few of their own men while pursuing them too far through those intricate places.
"caes.gal.3.29": [3.29] During the remaining days after this, Caesar began to cut down the forests; and that no attack might be made on the flank of the soldiers, while unarmed and not foreseeing it, he placed together (opposite to the enemy) all that timber which was cut down, and piled it up as a rampart on either flank. When a great space had been, with incredible speed, cleared in a few days, when the cattle [of the enemy] and the rear of their baggage train were already seized by our men, and they themselves were seeking for the thickest parts of the forests, storms of such a kind came on that the work was necessarily suspended, and, through the continuance of the rains, the soldiers could not any longer remain in their tents. Therefore, having laid waste all their country, [and] having burned their villages and houses, Caesar led back his army and stationed them in winter quarters among the Aulerci and Lexovii, and the other states which had made war upon him last.


{% extends 'layout-newia.html' %} {% block pageTitle %} Mental Health {% endblock %} {% block beforeContent %} {% endblock %} {% block content %}
Most people experience grief when they lose something or someone important to them. If these feelings are affecting your life, there are things you can try that may help.
Support is also available if you're finding it hard to cope with stress, anxiety or depression.
If you're not sure how you feel, try our mood self-assessment.
Bereavement, grief and loss can cause many different symptoms and they affect people in different ways. There's no right or wrong way to feel.
As well as bereavement, there are other types of loss such as the end of a relationship or losing a job or home.
Some of the most common symptoms include:
These feelings may not be there all the time and powerful feelings may appear unexpectedly.
It's not always easy to recognise when bereavement, grief or loss are the reason you're acting or feeling differently.
You can find further information and support about:
The GOV.UK website also has information about what to do after someone dies, such as registering the death and planning a funeral.
If you need more support, you can get free psychological therapies such as cognitive behavioural therapy (CBT) on the NHS.
You can refer yourself directly to a psychological therapies service without a referral from a GP.
It's still important to get help from a GP if you need it. To contact your GP surgery:
111 can tell you the right place to get help if you need to see someone.


Author: Patricia Carbon
Recipient: Silva Carpenter
Subject: Study group
Hi Silva. I’ve been thinking about our conversation, and I think I would like to join your group. My current group has no passion, and I love the idea of doing some more active stuff, in addition to studying. I’m not really sure about my political views, though. Do you think I could drop by for a few meetings, and see if it’s for me?
Author: Silva Carpenter
Recipient: Patricia Carbon
Subject: Re: Study group
Hi Pat!
Of course, you can drop by! We’re not some shady secret society or anything :). And don’t worry about politics. We pretty much disagree about everything as is! It’s not like you’ll be required to swear an oath on Das Kapital or anything :). As long as you’d like to fight social injustice, it’s cool. Suppose I’ll see you on Friday, then?
Author: Patricia Carbon
Recipient: Silva Carpenter
Subject: Re: Re: Study group
Cool :). I’ll be there.


Demonstration of a MQTT client connecting via Websockets in the browser.
This script demonstrates a MOWS browser client connecting to a server over HTTP and HTTPS.
It relies on the server script located at 'examples/server/server.js'.
The server uses a self-signed certifcate for localhost. In order for this client to work:
- Start the server (ie node examples/server/server.js)
- In your browser, visit https://localhost:666.
- Your browser will display a security warning. Accept / Approve or add a security exception depending on your browser.
- Reload this HTML file


| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
| java.awt.dnd |
Drag and Drop is a direct manipulation gesture found in many Graphical
User Interface systems that provides a mechanism to transfer
information between two entities logically associated with presentation
elements in the GUI.
|
| java.awt.event |
Provides interfaces and classes for dealing with different
types of events fired by AWT components.
|
| java.awt.image |
Provides classes for creating and modifying images.
|
| javax.accessibility |
Defines a contract between user-interface components and an assistive technology
that provides access to those components.
|
| javax.imageio |
The main package of the Java Image I/O API.
|
| javax.swing |
Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms.
|
| javax.swing.plaf |
Provides one interface and many abstract classes that
Swing uses to provide its pluggable look-and-feel capabilities.
|
| javax.swing.plaf.basic |
Provides user interface objects built according to the
Basic look and feel.
|
| javax.swing.plaf.metal |
Provides user interface objects built according to
the Java look and feel (once codenamed Metal),
which is the default look and feel.
|
| javax.swing.plaf.multi |
Provides user interface objects that combine two or more look and feels.
|
| javax.swing.table |
Provides classes and interfaces for dealing with
javax.swing.JTable . |
| javax.swing.text |
Provides classes and interfaces that deal with editable
and noneditable text components.
|
| Modifier and Type | Method and Description |
|---|---|
Point |
GraphicsEnvironment.getCenterPoint()
Returns the Point where Windows should be centered.
|
Point |
GridBagLayout.getLayoutOrigin()
Determines the origin of the layout area, in the graphics coordinate
space of the target container.
|
Point |
PointerInfo.getLocation()
Returns the
Point that represents the coordinates
of the pointer on the screen. |
Point |
MenuComponent.AccessibleAWTMenuComponent.getLocation()
Gets the location of the object relative to the parent in the form
of a point specifying the object's top-left corner in the screen's
coordinate space.
|
Point |
Point.getLocation()
Returns the location of this point.
|
Point |
Rectangle.getLocation()
Returns the location of this
Rectangle . |
Point |
List.AccessibleAWTList.AccessibleAWTListChild.getLocation()
Gets the location of the object relative to the parent in the
form of a point specifying the object's top-left corner in the
screen's coordinate space.
|
Point |
Component.getLocation()
Gets the location of this component in the form of a
point specifying the component's top-left corner.
|
Point |
Component.AccessibleAWTComponent.getLocation()
Gets the location of the object relative to the parent in the form
of a point specifying the object's top-left corner in the screen's
coordinate space.
|
Point |
Component.getLocation(Point rv)
Stores the x,y origin of this component into "return value" rv
and return rv.
|
Point |
MenuComponent.AccessibleAWTMenuComponent.getLocationOnScreen()
Returns the location of the object on the screen.
|
Point |
List.AccessibleAWTList.AccessibleAWTListChild.getLocationOnScreen()
Returns the location of the object on the screen.
|
Point |
Component.getLocationOnScreen()
Gets the location of this component in the form of a point
specifying the component's top-left corner in the screen's
coordinate space.
|
Point |
Component.AccessibleAWTComponent.getLocationOnScreen()
Returns the location of the object on the screen.
|
Point |
Component.getMousePosition()
Returns the position of the mouse pointer in this
Component 's
coordinate space if the Component is directly under the mouse
pointer, otherwise returns null . |
Point |
Container.getMousePosition(boolean allowChildren)
Returns the position of the mouse pointer in this
Container 's
coordinate space if the Container is under the mouse pointer,
otherwise returns null . |
Point |
ScrollPane.getScrollPosition()
Returns the current x,y position within the child which is displayed
at the 0,0 location of the scrolled panel's view port.
|
Point |
Component.location()
Deprecated.
As of JDK version 1.1,
replaced by
getLocation() . |
Point |
GridBagLayout.location(int x,
int y)
Determines which cell in the layout grid contains the point
specified by
(x, y) . |
| Modifier and Type | Method and Description |
|---|---|
void |
Rectangle.add(Point pt)
Adds the specified
Point to the bounds of this
Rectangle . |
boolean |
MenuComponent.AccessibleAWTMenuComponent.contains(Point p)
Checks whether the specified point is within this object's bounds,
where the point's x and y coordinates are defined to be relative to
the coordinate system of the object.
|
boolean |
Polygon.contains(Point p)
Determines whether the specified
Point is inside this
Polygon . |
boolean |
Rectangle.contains(Point p)
Checks whether or not this
Rectangle contains the
specified Point . |
boolean |
List.AccessibleAWTList.AccessibleAWTListChild.contains(Point p)
Checks whether the specified point is within this object's
bounds, where the point's x and y coordinates are defined to
be relative to the coordinate system of the object.
|
boolean |
Component.contains(Point p)
Checks whether this component "contains" the specified point,
where the point's x and y coordinates are defined
to be relative to the coordinate system of this component.
|
boolean |
Component.AccessibleAWTComponent.contains(Point p)
Checks whether the specified point is within this object's bounds,
where the point's x and y coordinates are defined to be relative to
the coordinate system of the object.
|
Cursor |
Toolkit.createCustomCursor(Image cursor,
Point hotSpot,
String name)
Creates a new custom cursor object.
|
Component |
Container.findComponentAt(Point p)
Locates the visible child component that contains the specified
point.
|
Accessible |
MenuComponent.AccessibleAWTMenuComponent.getAccessibleAt(Point p)
Returns the
Accessible child, if one exists,
contained at the local coordinate Point . |
Accessible |
Container.AccessibleAWTContainer.getAccessibleAt(Point p)
Returns the
Accessible child, if one exists,
contained at the local coordinate Point . |
Accessible |
List.AccessibleAWTList.getAccessibleAt(Point p)
Returns the Accessible child contained at the local coordinate
Point, if one exists.
|
Accessible |
List.AccessibleAWTList.AccessibleAWTListChild.getAccessibleAt(Point p)
Returns the
Accessible child, if one exists,
contained at the local coordinate Point . |
Accessible |
Component.AccessibleAWTComponent.getAccessibleAt(Point p)
Returns the
Accessible child,
if one exists, contained at the local
coordinate Point . |
Component |
Container.getComponentAt(Point p)
Gets the component that contains the specified point.
|
Component |
Component.getComponentAt(Point p)
Returns the component or subcomponent that contains the
specified point.
|
int |
TextComponent.AccessibleAWTTextComponent.getIndexAtPoint(Point p)
Given a point in local coordinates, return the zero-based index
of the character under that Point.
|
Point |
Component.getLocation(Point rv)
Stores the x,y origin of this component into "return value" rv
and return rv.
|
void |
MenuComponent.AccessibleAWTMenuComponent.setLocation(Point p)
Sets the location of the object relative to the parent.
|
void |
Point.setLocation(Point p)
Sets the location of the point to the specified location.
|
void |
Window.setLocation(Point p)
Moves this component to a new location.
|
void |
Rectangle.setLocation(Point p)
Moves this
Rectangle to the specified location. |
void |
List.AccessibleAWTList.AccessibleAWTListChild.setLocation(Point p)
Sets the location of the object relative to the parent.
|
void |
Component.setLocation(Point p)
Moves this component to a new location.
|
void |
Component.AccessibleAWTComponent.setLocation(Point p)
Sets the location of the object relative to the parent.
|
void |
ScrollPane.setScrollPosition(Point p)
Scrolls to the specified position within the child component.
|
| Constructor and Description |
|---|
Point(Point p)
Constructs and initializes a point with the same location as
the specified
Point object. |
Rectangle(Point p)
Constructs a new
Rectangle whose upper-left corner is the
specified Point , and whose width and height are both zero. |
Rectangle(Point p,
Dimension d)
|
| Modifier and Type | Method and Description |
|---|---|
Point |
DragGestureEvent.getDragOrigin()
Returns a
Point in the coordinates
of the Component over which the drag originated. |
Point |
DropTargetDragEvent.getLocation()
This method returns a
Point
indicating the Cursor 's current
location within the Component' s
coordinates. |
Point |
DragSourceEvent.getLocation()
This method returns a
Point indicating the cursor
location in screen coordinates at the moment this event occured, or
null if the cursor location is not specified for this
event. |
Point |
DropTargetDropEvent.getLocation()
This method returns a
Point
indicating the Cursor 's current
location in the Component 's coordinates. |
| Modifier and Type | Method and Description |
|---|---|
void |
Autoscroll.autoscroll(Point cursorLocn)
notify the
Component to autoscroll |
protected DragSourceContext |
DragSource.createDragSourceContext(java.awt.dnd.peer.DragSourceContextPeer dscp,
DragGestureEvent dgl,
Cursor dragCursor,
Image dragImage,
Point imageOffset,
Transferable t,
DragSourceListener dsl)
Creates the
DragSourceContext to handle the current drag
operation. |
protected DropTarget.DropTargetAutoScroller |
DropTarget.createDropTargetAutoScroller(Component c,
Point p)
create an embedded autoscroller
|
protected void |
DragGestureRecognizer.fireDragGestureRecognized(int dragAction,
Point p)
Notify the DragGestureListener that a Drag and Drop initiating
gesture has occurred.
|
protected void |
DropTarget.initializeAutoscrolling(Point p)
initialize autoscrolling
|
void |
DragGestureEvent.startDrag(Cursor dragCursor,
Image dragImage,
Point imageOffset,
Transferable transferable,
DragSourceListener dsl)
Start the drag given the initial
Cursor to display,
a drag Image , the offset of
the Image ,
the Transferable object, and
the DragSourceListener to use. |
void |
DragSource.startDrag(DragGestureEvent trigger,
Cursor dragCursor,
Image dragImage,
Point dragOffset,
Transferable transferable,
DragSourceListener dsl)
Start a drag, given the
DragGestureEvent
that initiated the drag, the initial Cursor
to use,
the Image to drag,
the offset of the Image origin
from the hotspot of the Cursor
at the instant of the trigger,
the subject data of the drag, and
the DragSourceListener . |
void |
DragSource.startDrag(DragGestureEvent trigger,
Cursor dragCursor,
Image dragImage,
Point imageOffset,
Transferable transferable,
DragSourceListener dsl,
FlavorMap flavorMap)
Start a drag, given the
DragGestureEvent
that initiated the drag, the initial
Cursor to use,
the Image to drag,
the offset of the Image origin
from the hotspot of the Cursor at
the instant of the trigger,
the Transferable subject data
of the drag, the DragSourceListener ,
and the FlavorMap . |
protected void |
DropTarget.updateAutoscroll(Point dragCursorLocn)
update autoscrolling with current cursor locn
|
protected void |
DropTarget.DropTargetAutoScroller.updateLocation(Point newLocn)
cause autoscroll to occur
|
| Constructor and Description |
|---|
DragGestureEvent(DragGestureRecognizer dgr,
int act,
Point ori,
List<? extends InputEvent> evs)
Constructs a
DragGestureEvent object given by the
DragGestureRecognizer instance firing this event,
an act parameter representing
the user's preferred action, an ori parameter
indicating the origin of the drag, and a List of
events that comprise the gesture(evs parameter). |
DragSourceContext(java.awt.dnd.peer.DragSourceContextPeer dscp,
DragGestureEvent trigger,
Cursor dragCursor,
Image dragImage,
Point offset,
Transferable t,
DragSourceListener dsl)
Called from
DragSource , this constructor creates a new
DragSourceContext given the
DragSourceContextPeer for this Drag, the
DragGestureEvent that triggered the Drag, the initial
Cursor to use for the Drag, an (optional)
Image to display while the Drag is taking place, the offset
of the Image origin from the hotspot at the instant of the
triggering event, the Transferable subject data, and the
DragSourceListener to use during the Drag and Drop
operation. |
DropTarget.DropTargetAutoScroller(Component c,
Point p)
construct a DropTargetAutoScroller
|
DropTargetDragEvent(DropTargetContext dtc,
Point cursorLocn,
int dropAction,
int srcActions)
Construct a
DropTargetDragEvent given the
DropTargetContext for this operation,
the location of the "Drag" Cursor 's hotspot
in the Component 's coordinates, the
user drop action, and the source drop actions. |
DropTargetDropEvent(DropTargetContext dtc,
Point cursorLocn,
int dropAction,
int srcActions)
Construct a
DropTargetDropEvent given
the DropTargetContext for this operation,
the location of the drag Cursor 's
hotspot in the Component 's coordinates,
the currently
selected user drop action, and the current set of
actions supported by the source. |
DropTargetDropEvent(DropTargetContext dtc,
Point cursorLocn,
int dropAction,
int srcActions,
boolean isLocal)
Construct a
DropTargetEvent given the
DropTargetContext for this operation,
the location of the drag Cursor 's hotspot
in the Component 's
coordinates, the currently selected user drop action,
the current set of actions supported by the source,
and a boolean indicating if the source is in the same JVM
as the target. |
| Modifier and Type | Method and Description |
|---|---|
Point |
MouseEvent.getLocationOnScreen()
Returns the absolute x, y position of the event.
|
Point |
MouseEvent.getPoint()
Returns the x,y position of the event relative to the source component.
|
| Modifier and Type | Method and Description |
|---|---|
Point[] |
BufferedImage.getWritableTileIndices()
Returns an array of
Point objects indicating which tiles
are checked out for writing. |
Point[] |
WritableRenderedImage.getWritableTileIndices()
Returns an array of Point objects indicating which tiles
are checked out for writing.
|
| Modifier and Type | Method and Description |
|---|---|
static WritableRaster |
Raster.createBandedRaster(DataBuffer dataBuffer,
int w,
int h,
int scanlineStride,
int[] bankIndices,
int[] bandOffsets,
Point location)
Creates a Raster based on a BandedSampleModel with the
specified DataBuffer, width, height, scanline stride, bank
indices, and band offsets.
|
static WritableRaster |
Raster.createBandedRaster(int dataType,
int w,
int h,
int scanlineStride,
int[] bankIndices,
int[] bandOffsets,
Point location)
Creates a Raster based on a BandedSampleModel with the
specified data type, width, height, scanline stride, bank
indices and band offsets.
|
static WritableRaster |
Raster.createBandedRaster(int dataType,
int w,
int h,
int bands,
Point location)
Creates a Raster based on a BandedSampleModel with the
specified data type, width, height, and number of bands.
|
static WritableRaster |
Raster.createInterleavedRaster(DataBuffer dataBuffer,
int w,
int h,
int scanlineStride,
int pixelStride,
int[] bandOffsets,
Point location)
Creates a Raster based on a PixelInterleavedSampleModel with the
specified DataBuffer, width, height, scanline stride, pixel
stride, and band offsets.
|
static WritableRaster |
Raster.createInterleavedRaster(int dataType,
int w,
int h,
int scanlineStride,
int pixelStride,
int[] bandOffsets,
Point location)
Creates a Raster based on a PixelInterleavedSampleModel with the
specified data type, width, height, scanline stride, pixel
stride, and band offsets.
|
static WritableRaster |
Raster.createInterleavedRaster(int dataType,
int w,
int h,
int bands,
Point location)
Creates a Raster based on a PixelInterleavedSampleModel with the
specified data type, width, height, and number of bands.
|
static WritableRaster |
Raster.createPackedRaster(DataBuffer dataBuffer,
int w,
int h,
int scanlineStride,
int[] bandMasks,
Point location)
Creates a Raster based on a SinglePixelPackedSampleModel with
the specified DataBuffer, width, height, scanline stride, and
band masks.
|
static WritableRaster |
Raster.createPackedRaster(DataBuffer dataBuffer,
int w,
int h,
int bitsPerPixel,
Point location)
Creates a Raster based on a MultiPixelPackedSampleModel with the
specified DataBuffer, width, height, and bits per pixel.
|
static WritableRaster |
Raster.createPackedRaster(int dataType,
int w,
int h,
int[] bandMasks,
Point location)
Creates a Raster based on a SinglePixelPackedSampleModel with
the specified data type, width, height, and band masks.
|
static WritableRaster |
Raster.createPackedRaster(int dataType,
int w,
int h,
int bands,
int bitsPerBand,
Point location)
Creates a Raster based on a packed SampleModel with the
specified data type, width, height, number of bands, and bits
per band.
|
static Raster |
Raster.createRaster(SampleModel sm,
DataBuffer db,
Point location)
Creates a Raster with the specified SampleModel and DataBuffer.
|
static WritableRaster |
Raster.createWritableRaster(SampleModel sm,
DataBuffer db,
Point location)
Creates a WritableRaster with the specified SampleModel and DataBuffer.
|
static WritableRaster |
Raster.createWritableRaster(SampleModel sm,
Point location)
Creates a WritableRaster with the specified SampleModel.
|
| Constructor and Description |
|---|
Raster(SampleModel sampleModel,
DataBuffer dataBuffer,
Point origin)
Constructs a Raster with the given SampleModel and DataBuffer.
|
Raster(SampleModel sampleModel,
DataBuffer dataBuffer,
Rectangle aRegion,
Point sampleModelTranslate,
Raster parent)
Constructs a Raster with the given SampleModel, DataBuffer, and
parent.
|
Raster(SampleModel sampleModel,
Point origin)
Constructs a Raster with the given SampleModel.
|
WritableRaster(SampleModel sampleModel,
DataBuffer dataBuffer,
Point origin)
Constructs a WritableRaster with the given SampleModel and DataBuffer.
|
WritableRaster(SampleModel sampleModel,
DataBuffer dataBuffer,
Rectangle aRegion,
Point sampleModelTranslate,
WritableRaster parent)
Constructs a WritableRaster with the given SampleModel, DataBuffer,
and parent.
|
WritableRaster(SampleModel sampleModel,
Point origin)
Constructs a WritableRaster with the given SampleModel.
|
| Modifier and Type | Method and Description |
|---|---|
Point |
AccessibleComponent.getLocation()
Gets the location of the object relative to the parent in the form
of a point specifying the object's top-left corner in the screen's
coordinate space.
|
Point |
AccessibleComponent.getLocationOnScreen()
Returns the location of the object on the screen.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AccessibleComponent.contains(Point p)
Checks whether the specified point is within this object's bounds,
where the point's x and y coordinates are defined to be relative to the
coordinate system of the object.
|
Accessible |
AccessibleComponent.getAccessibleAt(Point p)
Returns the Accessible child, if one exists, contained at the local
coordinate Point.
|
int |
AccessibleText.getIndexAtPoint(Point p)
Given a point in local coordinates, return the zero-based index
of the character under that Point.
|
void |
AccessibleComponent.setLocation(Point p)
Sets the location of the object relative to the parent.
|
| Modifier and Type | Field and Description |
|---|---|
protected Point |
IIOParam.destinationOffset
The offset in the destination where the upper-left decoded
pixel should be placed.
|
| Modifier and Type | Method and Description |
|---|---|
Point |
IIOParam.getDestinationOffset()
Returns the offset in the destination image at which pixels are
to be placed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IIOParam.setDestinationOffset(Point destinationOffset)
Specifies the offset in the destination image at which future
decoded pixels are to be placed, when reading, or where a
region will be written, when writing.
|
| Modifier and Type | Field and Description |
|---|---|
protected Point |
JViewport.lastPaintPosition
The last
viewPosition that we've painted, so we know how
much of the backing store image is valid. |
| Modifier and Type | Method and Description |
|---|---|
static Point |
SwingUtilities.convertPoint(Component source,
int x,
int y,
Component destination)
Convert the point
(x,y) in source coordinate system to
destination coordinate system. |
static Point |
SwingUtilities.convertPoint(Component source,
Point aPoint,
Component destination)
Convert a
aPoint in source coordinate system to
destination coordinate system. |
Point |
TransferHandler.getDragImageOffset()
Returns an anchor offset for the image to drag.
|
Point |
TransferHandler.DropLocation.getDropPoint()
Returns the drop point, representing the mouse's
current location within the component.
|
Point |
JTable.AccessibleJTable.AccessibleJTableCell.getLocation()
Gets the location of the object relative to the parent
in the form of a point specifying the object's
top-left corner in the screen's coordinate space.
|
Point |
JList.AccessibleJList.AccessibleJListChild.getLocation() |
Point |
JTree.AccessibleJTree.AccessibleJTreeNode.getLocation() |
Point |
JComponent.getLocation(Point rv)
Stores the x,y origin of this component into "return value"
rv and returns rv . |
protected Point |
JTree.AccessibleJTree.AccessibleJTreeNode.getLocationInJTree() |
Point |
JTable.AccessibleJTable.AccessibleJTableCell.getLocationOnScreen()
Returns the location of the object on the screen.
|
Point |
JList.AccessibleJList.AccessibleJListChild.getLocationOnScreen() |
Point |
JTree.AccessibleJTree.AccessibleJTreeNode.getLocationOnScreen() |
Point |
JComponent.getPopupLocation(MouseEvent event)
Returns the preferred location to display the popup menu in this
component's coordinate system.
|
protected Point |
JMenu.getPopupMenuOrigin()
Computes the origin for the
JMenu 's popup menu. |
Point |
JComponent.getToolTipLocation(MouseEvent event)
Returns the tooltip location in this component's coordinate system.
|
Point |
JViewport.getViewPosition()
Returns the view coordinates that appear in the upper left
hand corner of the viewport, or 0,0 if there's no view.
|
Point |
JList.indexToLocation(int index)
Returns the origin of the specified item in the list's coordinate
system.
|
Point |
JViewport.toViewCoordinates(Point p)
Converts a point in pixel coordinates to view coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
int |
JTable.columnAtPoint(Point point)
Returns the index of the column that
point lies in,
or -1 if the result is not in the range
[0, getColumnCount() -1]. |
Component |
MenuSelectionManager.componentForPoint(Component source,
Point sourcePoint)
Returns the component in the currently selected path
which contains sourcePoint.
|
protected boolean |
JViewport.computeBlit(int dx,
int dy,
Point blitFrom,
Point blitTo,
Dimension blitSize,
Rectangle blitPaint)
Computes the parameters for a blit where the backing store image
currently contains
oldLoc in the upper left hand corner
and we're scrolling to newLoc . |
boolean |
JTable.AccessibleJTable.AccessibleJTableCell.contains(Point p)
Checks whether the specified point is within this
object's bounds, where the point's x and y coordinates
are defined to be relative to the coordinate system of
the object.
|
boolean |
JList.AccessibleJList.AccessibleJListChild.contains(Point p) |
boolean |
JTree.AccessibleJTree.AccessibleJTreeNode.contains(Point p) |
static Point |
SwingUtilities.convertPoint(Component source,
Point aPoint,
Component destination)
Convert a
aPoint in source coordinate system to
destination coordinate system. |
static void |
SwingUtilities.convertPointFromScreen(Point p,
Component c)
Convert a point from a screen coordinates to a component's
coordinate system
|
static void |
SwingUtilities.convertPointToScreen(Point p,
Component c)
Convert a point from a component's coordinate system to
screen coordinates.
|
static Accessible |
SwingUtilities.getAccessibleAt(Component c,
Point p)
Returns the
Accessible child contained at the
local coordinate Point , if one exists. |
Accessible |
JTable.AccessibleJTable.getAccessibleAt(Point p)
Returns the
Accessible child, if one exists,
contained at the local coordinate Point . |
Accessible |
JTable.AccessibleJTable.AccessibleJTableCell.getAccessibleAt(Point p) |
Accessible |
JTabbedPane.AccessibleJTabbedPane.getAccessibleAt(Point p)
Returns the
Accessible child contained at
the local coordinate Point , if one exists. |
Accessible |
JEditorPane.AccessibleJEditorPaneHTML.getAccessibleAt(Point p)
Returns the Accessible child, if one exists, contained at the local
coordinate Point.
|
Accessible |
JList.AccessibleJList.getAccessibleAt(Point p)
Returns the
Accessible child contained at
the local coordinate Point , if one exists. |
Accessible |
JList.AccessibleJList.AccessibleJListChild.getAccessibleAt(Point p) |
Accessible |
JTree.AccessibleJTree.getAccessibleAt(Point p)
Returns the
Accessible child, if one exists,
contained at the local coordinate Point . |
Accessible |
JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleAt(Point p)
Returns the
Accessible child, if one exists,
contained at the local coordinate Point . |
int |
AbstractButton.AccessibleAbstractButton.getIndexAtPoint(Point p)
Given a point in local coordinates, return the zero-based index
of the character under that Point.
|
int |
JSpinner.AccessibleJSpinner.getIndexAtPoint(Point p)
Given a point in local coordinates, return the zero-based index
of the character under that Point.
|
int |
ProgressMonitor.AccessibleProgressMonitor.getIndexAtPoint(Point p)
Given a point in local coordinates, return the zero-based index
of the character under that Point.
|
int |
JLabel.AccessibleJLabel.getIndexAtPoint(Point p)
Given a point in local coordinates, return the zero-based index
of the character under that Point.
|
Point |
JComponent.getLocation(Point rv)
Stores the x,y origin of this component into "return value"
rv and returns rv . |
int |
JList.locationToIndex(Point location)
Returns the cell index closest to the given location in the list's
coordinate system.
|
int |
JTable.rowAtPoint(Point point)
Returns the index of the row that
point lies in,
or -1 if the result is not in the range
[0, getRowCount() -1]. |
void |
TransferHandler.setDragImageOffset(Point p)
Sets an anchor offset for the image to drag.
|
void |
JTable.AccessibleJTable.AccessibleJTableCell.setLocation(Point p)
Sets the location of the object relative to the parent.
|
void |
JList.AccessibleJList.AccessibleJListChild.setLocation(Point p) |
void |
JTree.AccessibleJTree.AccessibleJTreeNode.setLocation(Point p) |
void |
JViewport.setViewPosition(Point p)
Sets the view coordinates that appear in the upper left
hand corner of the viewport, does nothing if there's no view.
|
Point |
JViewport.toViewCoordinates(Point p)
Converts a point in pixel coordinates to view coordinates.
|
| Constructor and Description |
|---|
TransferHandler.DropLocation(Point dropPoint)
Constructs a drop location for the given point.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Point |
ListUI.indexToLocation(JList list,
int index)
Returns the origin in the given
JList , of the specified item,
in the list's coordinate system. |
| Modifier and Type | Method and Description |
|---|---|
String |
TextUI.getToolTipText(JTextComponent t,
Point pt)
Returns the string to be used as the tooltip at the passed in location.
|
abstract int |
ListUI.locationToIndex(JList list,
Point location)
Returns the cell index in the specified
JList closest to the
given location in the list's coordinate system. |
abstract int |
TextUI.viewToModel(JTextComponent t,
Point pt)
Converts the given place in the view coordinate system
to the nearest representative location in the model.
|
abstract int |
TextUI.viewToModel(JTextComponent t,
Point pt,
Position.Bias[] biasReturn)
Provides a mapping from the view coordinate space to the logical
coordinate space of the model.
|
| Modifier and Type | Field and Description |
|---|---|
protected Point |
BasicToolBarUI.DockingListener.origin |
| Modifier and Type | Method and Description |
|---|---|
Point |
BasicToolBarUI.DragWindow.getOffset() |
protected Point |
BasicProgressBarUI.getStringPlacement(Graphics g,
String progressString,
int x,
int y,
int width,
int height)
Designate the place where the progress string will be painted.
|
Point |
BasicListUI.indexToLocation(JList list,
int index)
Returns the origin in the given
JList , of the specified item,
in the list's coordinate system. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
BasicToolBarUI.canDock(Component c,
Point p) |
protected void |
BasicToolBarUI.dragTo(Point position,
Point origin) |
protected void |
BasicToolBarUI.floatAt(Point position,
Point origin) |
String |
BasicTextUI.getToolTipText(JTextComponent t,
Point pt)
Returns the string to be used as the tooltip at the passed in location.
|
int |
BasicListUI.locationToIndex(JList list,
Point location)
Returns the cell index in the specified
JList closest to the
given location in the list's coordinate system. |
void |
BasicToolBarUI.setFloating(boolean b,
Point p) |
void |
BasicToolBarUI.DragWindow.setOffset(Point p) |
int |
BasicTextUI.viewToModel(JTextComponent tc,
Point pt)
Converts the given place in the view coordinate system
to the nearest representative location in the model.
|
int |
BasicTextUI.viewToModel(JTextComponent tc,
Point pt,
Position.Bias[] biasReturn)
Converts the given place in the view coordinate system
to the nearest representative location in the model.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
MetalToolBarUI.setDragOffset(Point p) |
| Modifier and Type | Method and Description |
|---|---|
Point |
MultiListUI.indexToLocation(JList a,
int b)
Invokes the
indexToLocation method on each UI handled by this object. |
| Modifier and Type | Method and Description |
|---|---|
String |
MultiTextUI.getToolTipText(JTextComponent a,
Point b)
Invokes the
getToolTipText method on each UI handled by this object. |
int |
MultiListUI.locationToIndex(JList a,
Point b)
Invokes the
locationToIndex method on each UI handled by this object. |
int |
MultiTextUI.viewToModel(JTextComponent a,
Point b)
Invokes the
viewToModel method on each UI handled by this object. |
int |
MultiTextUI.viewToModel(JTextComponent a,
Point b,
Position.Bias[] c)
Invokes the
viewToModel method on each UI handled by this object. |
| Modifier and Type | Method and Description |
|---|---|
Point |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getLocation() |
Point |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getLocationOnScreen() |
| Modifier and Type | Method and Description |
|---|---|
int |
JTableHeader.columnAtPoint(Point point)
Returns the index of the column that
point lies in, or -1 if it
lies out of bounds. |
boolean |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.contains(Point p) |
Accessible |
JTableHeader.AccessibleJTableHeader.getAccessibleAt(Point p)
Returns the Accessible child, if one exists, contained at the local
coordinate Point.
|
Accessible |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getAccessibleAt(Point p) |
void |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.setLocation(Point p) |
| Modifier and Type | Method and Description |
|---|---|
Point |
Caret.getMagicCaretPosition()
Gets the current caret visual location.
|
Point |
DefaultCaret.getMagicCaretPosition()
Gets the saved caret position.
|
| Modifier and Type | Method and Description |
|---|---|
int |
JTextComponent.AccessibleJTextComponent.getIndexAtPoint(Point p)
Given a point in local coordinates, return the zero-based index
of the character under that Point.
|
void |
Caret.setMagicCaretPosition(Point p)
Set the current caret visual location.
|
void |
DefaultCaret.setMagicCaretPosition(Point p)
Saves the current caret position.
|
int |
JTextComponent.viewToModel(Point pt)
Converts the given place in the view coordinate system
to the nearest representative location in the model.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.


Name Entity Visualizer using spaCy
Select a model then input a sentence or paragraph the software will extract Adverse Drug Reaction name entities
-
What is spaCy?
- spaCy is a free, open-source library package for advanced Natural Language Processing (NLP) in Python.
- It can be used to build name entity recognition or natural language understanding systems, or to pre-process text for deep learning efficiently.
- I have chosen spaCy because it is extremely robust, fast and flexible since you can intergrate deep learning model easily.
-
What is ADRs (adverse drug reactions)?
- It’s often can be defined as “an unexpected or harmful reaction experienced following the administration of a drug or combination of drugs”.
- The reaction can be either due to dosage, allergic drug reaction or idiosyncratic (unknown cause).
- Spontaneous reporting systems (SRS) is currently used to monitor and detect ADRs. "However, it is estimated that more than 90% of the ADRs still remain unreported, showing the limited effectiveness of SRS" *
Which data sets and machine learning model did I used?
- I used spaCy library in other to implemented the model that was used for this Named Enitity Recognition task.
- The model use a deep Convolution Neural Network with residual connections for it's custom model training.
- It's a statistical model and it's use a transition-based approach to named entity parsing.
- Furthermore, I also experimented with different word embedding techniques such as spaCy's Bloom Embedding, Word2Vec and Glove.
Development of a Benchmark Corpus to Support the Identification of Adverse Drug Effects from Case Reports
Harsha Gurulingappa, Abdul Mateen-Rajput, Angus Roberts, Juliane Fluck, Martin Hofmann-Apitius, and Luca Toldo
Journal of Biomedical Informatics, In Press, 2012.
The corpus described in the following article will be available for download here.
http://www.sciencedirect.com/science/article/pii/S1532046412000615


Pirate
Slice
A
Casual
, easy to learn,
hard to put down
game of pirates, ships and the high seas.
we're
Coming Soon
to your Android & iPhone Devices!
Privacy Policy
Terms & Conditions
Copyright 2021.
All Rights Reserved.
Pirate
Slice


--- layout: post date: 2013-01-29 title: Impact through innovation conference notes description: Notes from Justgiving’s 'Impact through innovation' conference on 29 January 2013. tags: - Charity/Digital socialtitle: socialdescription: socialimageurl: socialimagealt: ---
Today I attended Justgiving’s Impact through innovation conference. Topics ranged from social media to the 21st century to mobile to volunteering to in-mem giving. Here are eight things I learned:
I asked five people this question and only one replied in the affirmitive. Vine is very new so that’s not too surprising. Serendipitously, @LondonKirsty chose today to share her Storify collection of good charity Vines: I heard it through the Grapevine.
This is what BHF did for the #hardandfast campaign with Vinnie Jones and the results were so successful they’d do it again like that. Thanks to @DaraNasr for that.
Make a donation, set up a page, add content to your page, even edit your post-donation comment and JustGiving will ask you to share far and wide, according to @jon_bedford.
It works on iPhone and Android and it’s more powerful than the page management tools in their regular app.
I only caught the first ten minutes of her talk but I got two gems from it:
It’s also very useulf if you need to convince people about the value of mobile. Thanks @barryoreilly for that.
This would involve an SMS or a donation SMS to start, regular outbound SMS comms and regular giving through your phone bill. Most user journeys will be mobile and something else but mobile-only is possible. Thanks @helenjpattinson for that.
They often want to do challenges or events in memory of someone, as well as funeral collections or donations in lieu of flowers. In fact, 38% of in-mem donors skip the funeral collection / flowers thing altogether. Thanks to Katie Simmons for that.


Korean Buddhist monks delegation in Pakistan to promote religious tourism | Pakistan - Geo.tv
by The NewsISLAMABAD: A delegation of Korean Buddhist monks led by President of Jogye Order, Won Haeng, the biggest denomination of Buddhism in the Republic of Korea, is currently on a visit to Pakistan to promote religious tourism and to give fresh impetus to the existing cultural ties between Korea and Pakistan.
During the visit, the delegation will evaluate the safety of the Korean Buddhist pilgrims and security measures at major Buddhist sites in Pakistan. They will also discuss the means to preserve and restore Buddhist cultural heritage in the country.
The delegation is also expected to meet with prominent Islamic scholars to promote interfaith harmony.
During the visit, which is organised by Pakistan Embassy in Seoul in coordination with Ministry of Cultural Heritage and Korean Embassy in Islamabad, the delegation will discuss the possibility with the KP government to establish a school in the name of Monk Maranantha at his birth place in Chota Lahore, Swabi.
The visit will also open stage for Buddhist pilgrims from Korea and other parts of the world to Pakistan.
Originally published in The News


Pages
Add New
Save Order
×
Page saved.
×
Page deleted.
/cate1
●
Edit
Add
×
Add New Page
Select Parent Page
http://codecity.pl/page/
×
Delete Page
Are you sure you want to delete?


{% block javascript %} {# JQUERY FILE UPLOAD SCRIPTS #} {% endblock %}
Uploading...
0%
Drop Photos Here to Upload
{# 1. BUTTON TO TRIGGER THE ACTION #}
Upload photos
{# 2. FILE INPUT TO BE USED BY THE PLUG-IN #}
{# 3. TABLE TO DISPLAY THE UPLOADED PHOTOS #}
Photo
{% for photo in photos %}
{{ photo.file.name }}
{% endfor %}


---
layout: post
title: BUG in SWT Browser Widget
date: 2008-01-28 02:38:16 UTC
updated: 2008-01-28 02:38:16 UTC
comments: false
categories: Java
---
I have just discovered a bug in SWT Browser Widget which is used by Eclipse for its internal browser. Just type in http://www.friendster.com/ anyway inside eclipse (some editor inside eclipse). Hold CTRL and click on that link to open Eclipse internal browser. As the page is about to finish loading, Eclipse closes!!
The version I am using is SWT 3.3, the latest, so called stable release.
No idea as of now why this is happening. I guess there is some component inside friendster.com homepage that SWT Browser widget does not like much, and infact it is a VM error!
By the way I am running Fedora Core 7.