Questions tagged [method-call]
386 questions
0
votes
1 answer
How to determine when all methods are finished?
I have RootViewController where I create my MainViewDownload instance and call method of that instance.
MainViewDownload *download = [[MainViewDownload alloc] init];
[download loadMainViewImages];
How can I know when loadMainViewImages is finished…

zhuber
- 5,364
- 3
- 30
- 63
0
votes
3 answers
(NetBeans) call a single method on a created object or a single static method
I used to program on BlueJ for school, but now I'ld like to try NetBeans for personnal usage.
In BlueJ, we can see all the created objects. On this objects, we can see all the fields and their values. We can even call one single method of the class…

Seeven
- 969
- 1
- 8
- 24
0
votes
2 answers
Using object calls to method
I need help figuring out what is wrong with my code. I was trying to use driver1.DriverExam(answers) to call object.method(array) in hopes that it would be able to properly grade the user's input, but that produces errors. How do I properly call…

dmteston
- 13
- 3
0
votes
2 answers
Detect if the file exists
Well the file "MyStore.obj" was attached along with the sheet I downloaded. And i'm supposed to read this file's content which is given with order of the contents.how can i make sure if it exists or not? because as you can see i tried using the…

Sarah
- 133
- 1
- 3
- 13
0
votes
4 answers
Call methods in a random unique order?
So I was looking to randomize the way certain methods are called, so that each one is only called once per instance and every single method is called.
So say one instance they are called in the order:
method2
method4
method3
method1
but in the next…

jocopa3
- 796
- 1
- 10
- 29
0
votes
1 answer
Python instance method making multiple instance method calls
Here is some snippet code. I have tested the methods listed and they work correctly, yet when I run and test this method (countLOC) it only seems to initialize the first variable that has an instance method call (i = self.countBlankLines()). Anyone…
user186076
0
votes
1 answer
App calls Method on mouse click. How can I stop it?
So I am pretty new to Xcode and Objective C, I've been using it about 2 weeks now. I am building an app for OSX. One of the windows in the app has 5 text boxes, some labels and a submit button at the bottom. The submit button is linked to a…

Andrew Doig
- 25
- 2
- 9
0
votes
1 answer
how do i call my game over method when the health is equal to 0?
I am making a game for my computers class in Java, I am using NetBeans. It is more like a choose your own adventure game. This is my health method that I call if they choose an option that will cause damage to them.
It works fine, it takes the…
0
votes
1 answer
Assign return value to variable warning
In netbeans I use to call a method that returns a value, but I am directly calling it where I have to pass a parameter to the function i.e. Function(getValue()) where getValuue() returns String. So what I want to know is that what is more efficient…

Saqib
- 1,120
- 5
- 22
- 40
0
votes
0 answers
JSF application onload configuration
Any configuration available in JSF to call some function on "Application on-load" ?
as we have load-on-startup in web.xml.
Thanks.

Aryan
- 1,767
- 2
- 22
- 39
0
votes
4 answers
iphone development: nstimer calling a function
I have a void function which just have NSLog(@"Call me"); in its body.
I call it in my view in every ten seconds by using
NSTimer *timer = [NSTimer scheduledTimerWithTimeInterval:10 target:self selector:@selector(yourMethod) userInfo:nil…

death7eater
- 1,094
- 2
- 14
- 35
0
votes
0 answers
Calling UITableView's method to update from ParserDidEndDocument, UITableView null?
I have found a few questions regarding this topic but known seem to get my problem solved. I have an iPhone app that pulls and XML feed from a server, parses it, then displays the data in three UITableViews (sorting occurs at parsing). I currently…

kev
- 2,306
- 3
- 26
- 31
0
votes
2 answers
How can I call the action method inside the MVCPortlet class onclick of the Submit button
I am using Liferay 6 for development.
I have added JQuery support to Liferay this way inside the file liferay-portlet.xml file
https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js
…

Pawan
- 31,545
- 102
- 256
- 434
0
votes
2 answers
Left-hand side of assignment must be a variable
I'm trying to call a boolean method in another class and Eclipse is reporting the above error on the second line in the following code:
CCR ccrFlags = new CCR();
if (ccrFlags.cBit() = set)
The method being called from the class called "CCR"…

Robert
- 5,278
- 43
- 65
- 115
0
votes
2 answers
C# preserving variables across classes
I'm working on a plugin application. I have a frmDatasheet.cs (backend) and it's DatasheetPlugin.cs (frontend). I am working on a broadcast event between this datasheet and a model plugin, so that if someone goes back to the datasheet, makes some…

Tonia Roddick
- 137
- 1
- 3
- 13