Codota Logo
ScreenChangeAction.<init>
Code IndexAdd Codota to your IDE (free)

How to use
jsettlers.common.action.ScreenChangeAction
constructor

Best Java code snippets using jsettlers.common.action.ScreenChangeAction.<init> (Showing top 1 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: jsettlers/settlers-remake

private void adaptScreenSize() {
  FloatRectangle newScreen = context.getScreen().getPosition();
  if (!newScreen.equals(oldScreen)) {
    getInterfaceConnector().fireAction(new ScreenChangeAction(context.getScreenArea()));
  }
  oldScreen = newScreen;
}
jsettlers.common.actionScreenChangeAction<init>

Javadoc

Creates a new screen change action.

Popular methods of ScreenChangeAction

  • getScreenArea
    Gets the new area of the screen.

Popular in Java

  • Finding current android device location
  • getResourceAsStream (ClassLoader)
  • putExtra (Intent)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • Color (java.awt)
    The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary co
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now