De Selector generiek gemaakt en een instantie ApplicationSelector toegevoegd. Hierbij komen twee problemen kijken:...

This commit is contained in:
Bram Veenboer
2011-05-14 19:48:37 +00:00
parent e1188b43cc
commit ccfa301750
32 changed files with 256 additions and 164 deletions

View File

@@ -17,7 +17,7 @@ package de.hardcode.jxinput;
* provides a basis for other interfaces.
*
* @see Axis
* @see Button
* @see SelectButton
* @see Directional
*
* @author Herkules

View File

@@ -13,7 +13,7 @@ import java.awt.event.KeyEvent;
/**
* Associates a keycode with a Button and handles the current state of that button.
* Associates a keycode with a SelectButton and handles the current state of that button.
*
* @author Herkules
*/
@@ -48,7 +48,7 @@ class KeyButton
//*********************************************************************************************
//
// Implement Button
// Implement SelectButton
//
//*********************************************************************************************

View File

@@ -32,7 +32,7 @@ public class ButtonListener implements JXInputButtonEventListener
public void changed( JXInputButtonEvent ev )
{
System.out.println( "Button " + ev.getButton().getName() + " changed : state=" + ev.getButton().getState() );
System.out.println( "SelectButton " + ev.getButton().getName() + " changed : state=" + ev.getButton().getState() );
}
}

View File

@@ -101,7 +101,7 @@ public class VirtualAxis
public final void setIncreaseButton( Button b )
{
if ( null == b )
throw new InvalidParameterException( "Button may not be null!" );
throw new InvalidParameterException( "SelectButton may not be null!" );
mButtonIncrease = b;
}