Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Copyright 2012-2015 the original author or authors.
package org.assertj.swing.jide.components;
import  com.jidesoft.status.StatusBar;
TODO

Author(s):
Peter Murray
Creates a new org.assertj.swing.jide.action.CommandBarFixture.

Parameters:
robot performs simulation of user events on the given StatusBar.
target the StatusBar to be managed by this fixture.
Throws:
NullPointerException if robot is null.
NullPointerException if target is null.
  public JideStatusBarFixture(Robot robot, StatusBar target) {
	super(JideStatusBarFixture.classrobottarget);
  }

  
Creates a new org.assertj.swing.jide.action.CommandBarFixture.

Parameters:
robot performs simulation of user events on a StatusBar.
commandBarName the name of the StatusBar to find using the given Robot.
Throws:
NullPointerException if robot is null.
org.assertj.swing.exception.ComponentLookupException if a matching StatusBar could not be found.
org.assertj.swing.exception.ComponentLookupException if more than one matching StatusBar is found.
  public JideStatusBarFixture(Robot robotString commandBarName) {
	super(JideStatusBarFixture.classrobotcommandBarName, StatusBar.class);
  }
  protected StatusBarDriver createDriver(Robot robot) {
	return new StatusBarDriver(robot);
  }
  public void requireText(String text) {
  }
  public void containsText(String text) {
  }
  public String toString() {
	return Strings.concat("name="target().getName(),
	                      ", enabled="target().isEnabled(),
	                      ", visible="target().isVisible(),
	                      ", showing="target().isShowing());
  }
New to GrepCode? Check out our FAQ X