Questions tagged [visibility]
Visibility is an attribute of an object. It may refer to the concept of having something visible (or not) on the graphical interface, or a symbol visibility in linkage. This tag should not be used in place of the more specific tags [memory-visibility] or [class-visibility].
visibility
3,194
questions
-4
votes
1
answer
56
views
Which is better answer about security? [closed]
We have the next source of a Java class and some possibilities to secure its variables:
public class Foo {
public static String ALPHA = "alpha";
protected String beta = "beta&...
-4
votes
1
answer
5k
views
The final local variable "name" cannot be assigned, since it is defined in an enclosing type
I have this class:
class Tester{
final String rigaFile=riga;
final BufferedReader r=new BufferedReader(reader2);
fr.getList().addListSelectionListener(new ListSelectionListener() {
...
-4
votes
1
answer
76
views
How to access struct's instance fields from a function?
Assuming, that I have a Graph struct, like so:
type Graph struct {
nodes []int
adjList map[int][]int
}
// some methods on the struct
// constructor
func New() *Graph {
g := new(Graph)
...
-4
votes
2
answers
163
views
Making everything Invisible
Anyone know how I can make everything in my body invisible in one line of code. I am trying to seem like the page is "deleted" but really everything is still there. This is in javascript.
-4
votes
1
answer
301
views
Hiding Edittext in spinner onItemSelected
In one of my layouts I have a EditText that I show only when one spinner option is selected. In the rest of options is hide.
This action doesn't work, when I select one option the EditText is not ...
-4
votes
2
answers
432
views
How Can I Count Hide Tab Pages?
I Have A Tab Control And Several Tab Pages In It
This Tab Control Is A Component,Tab Pages Have "Page Visible" Property For Declaring Visibility And Tab Control Have Pages.Count Property
Some Of These ...
-5
votes
2
answers
89
views
Setting EditText visibility [duplicate]
I have four EditText that I set to invisible in the XML and when the button is clicked, I want them to be visible in pairs. For example, when the button is clicked, I want et1 and et2 to be visible, ...
-6
votes
3
answers
175
views
Private class property visible
How is it possible that private itemset property is visible in a copy constructor?
import java.util.List;
import java.util.ArrayList;
public class Itemset {
private List<Integer> itemset =...
-6
votes
1
answer
83
views
Why can I access private non-static class properties in a static class method?
I just noticed that the following code compiles without an error:
public class Foo
{
private string identifier;
public Foo() { }
private static void Bar(Foo foo)
{
Console....
-6
votes
1
answer
713
views
if and else for visible form [closed]
i have this code but return error
private void formshow_Click(object sender, EventArgs e)
{
if (form1.Visible)
{
MessageBox.Show("...
-6
votes
5
answers
158
views
how to validate view visibility on button click listener
I am using this code for validation and only invisibility view is working .
mute.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
mute = (...
-7
votes
1
answer
420
views
how can i make a label invisible at release build [closed]
I want to hide a listview item on release build but make it visible on debug build. I searched it on internet but I can't find anything about it. Anyone can help me?
-8
votes
2
answers
979
views
Visibility of class in Java [closed]
How to define low visibility and high visibility in java..??
Which will be the low visibility private or public
-17
votes
2
answers
1k
views
Close ad to continue as free user?
I have a 300px x 250px ad which is in this form:
<script type="text/javascript" src="advert.com" ></script>
I want to create a button underneath the ad which says:
"Close ad to ...