public boolean wasClicked(int x,int y){
        boolean temp;
        Rectangle one=new Rectangle(getXpos(),getYpos(),getWidth(),getHeight());
        Rectangle two=new Rectangle(x,y,1,1);
        temp=one.intersects(two);
        if(temp){
            boolean temp2=false;
            for(int i=0;i<subviews.size();i++)
                if(subviews.get(i).wasClicked(x,y)){
                    i=subviews.size();
                    temp2=true;
                }
            if(!temp2){
                clicked();
                View sup=this;
                if(sup.getSuperview()==null)
                    System.out.println("Major Error :: Did not set up the Superview :: View");
                while(!(sup instanceof GrandView)){
                    sup=sup.getSuperview();
                }
                ((GrandView)sup).getInputs().setSelectedView(this);
            }
            return true;
        }
        return false;
    }