dmolony-DiskBrowser/src/com/bytezone/diskbrowser/gui/AssemblerPreferences.java

27 lines
1.0 KiB
Java
Raw Normal View History

2019-08-15 07:02:40 +00:00
package com.bytezone.diskbrowser.gui;
2020-02-08 10:13:51 +00:00
// -----------------------------------------------------------------------------------//
2019-08-15 07:02:40 +00:00
public class AssemblerPreferences
2020-02-08 10:13:51 +00:00
// -----------------------------------------------------------------------------------//
2019-08-15 07:02:40 +00:00
{
public boolean showTargets = true;
public boolean showStrings = true;
public boolean offsetFromZero = false;
2019-09-04 20:44:43 +00:00
public boolean showHeader = true;
2019-08-15 07:02:40 +00:00
2020-02-08 10:13:51 +00:00
// ---------------------------------------------------------------------------------//
2019-08-15 07:02:40 +00:00
@Override
public String toString ()
2020-02-08 10:13:51 +00:00
// ---------------------------------------------------------------------------------//
2019-08-15 07:02:40 +00:00
{
StringBuilder text = new StringBuilder ();
text.append (String.format ("Show targets .......... %s%n", showTargets));
text.append (String.format ("Show strings .......... %s%n", showStrings));
text.append (String.format ("Offset from zero ...... %s%n", offsetFromZero));
2019-09-04 20:44:43 +00:00
text.append (String.format ("Show header ........... %s%n", showHeader));
2019-08-15 07:02:40 +00:00
return text.toString ();
}
}